summaryrefslogtreecommitdiffstats
path: root/tools/perf/examples/bpf/5sec.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/examples/bpf/5sec.c')
-rw-r--r--tools/perf/examples/bpf/5sec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/examples/bpf/5sec.c b/tools/perf/examples/bpf/5sec.c
index 3d1ed34aec8b..6fc3697ac749 100644
--- a/tools/perf/examples/bpf/5sec.c
+++ b/tools/perf/examples/bpf/5sec.c
@@ -40,5 +40,4 @@ int func(void *ctx, int err, long sec)
return sec == 5;
}
-char _license[] SEC("license") = "GPL";
-int _version SEC("version") = LINUX_VERSION_CODE;
+license(GPL);