summaryrefslogtreecommitdiff
path: root/tools/perf/examples/bpf
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2018-12-13 21:05:43 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-12-18 18:24:00 +0300
commit4623ce405d0871e648ba72fdb9c561016e2cc41d (patch)
treec56eac8e952278cbdc6b055f812aa4be0d071f2b /tools/perf/examples/bpf
parent7100b12cf474f575658e6e4a834f0e8a0b3c9867 (diff)
downloadlinux-4623ce405d0871e648ba72fdb9c561016e2cc41d.tar.xz
perf augmented_raw_syscalls: Do not include stdio.h
We're not using that puts() thing, and thus we don't need to define the __bpf_stdout__ map, reducing the setup time. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-3452xgatncpil7v22minkwbo@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/examples/bpf')
-rw-r--r--tools/perf/examples/bpf/augmented_raw_syscalls.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/examples/bpf/augmented_raw_syscalls.c b/tools/perf/examples/bpf/augmented_raw_syscalls.c
index a91c5874433e..6c5db6baeb3a 100644
--- a/tools/perf/examples/bpf/augmented_raw_syscalls.c
+++ b/tools/perf/examples/bpf/augmented_raw_syscalls.c
@@ -14,7 +14,6 @@
* code that will combine entry/exit in a strace like way.
*/
-#include <stdio.h>
#include <unistd.h>
#include <pid_filter.h>