From: Arnaldo Carvalho de Melo Date: Thu, 13 Dec 2018 18:05:43 +0000 (-0300) Subject: perf augmented_raw_syscalls: Do not include stdio.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4623ce405d0871e648ba72fdb9c561016e2cc41d;p=linux.git 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 Cc: Jiri Olsa Cc: Luis Cláudio Gonçalves Cc: Namhyung Kim Cc: Wang Nan Link: https://lkml.kernel.org/n/tip-3452xgatncpil7v22minkwbo@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/examples/bpf/augmented_raw_syscalls.c b/tools/perf/examples/bpf/augmented_raw_syscalls.c index a91c5874433ec..6c5db6baeb3ac 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 #include #include