summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/pprof
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/boot/pprof')
-rw-r--r--runsc/boot/pprof/pprof.go3
-rw-r--r--runsc/boot/pprof/pprof_state_autogen.go2
2 files changed, 5 insertions, 0 deletions
diff --git a/runsc/boot/pprof/pprof.go b/runsc/boot/pprof/pprof.go
index 1ded20dee..36b78ad86 100644
--- a/runsc/boot/pprof/pprof.go
+++ b/runsc/boot/pprof/pprof.go
@@ -12,6 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+//go:build go1.1
+// +build go1.1
+
// Package pprof provides a stub to initialize custom profilers.
package pprof
diff --git a/runsc/boot/pprof/pprof_state_autogen.go b/runsc/boot/pprof/pprof_state_autogen.go
index cabd43173..64bdd7b52 100644
--- a/runsc/boot/pprof/pprof_state_autogen.go
+++ b/runsc/boot/pprof/pprof_state_autogen.go
@@ -1,3 +1,5 @@
// automatically generated by stateify.
+// +build go1.1
+
package pprof