OpenCloudOS-Kernel/tools/perf/include/bpf
Arnaldo Carvalho de Melo 61d007138a perf bpf: Move perf_event_output() from stdio.h to bpf.h
So that we don't always carry that __bpf_output__ map, leaving that to
the scripts wanting to use that facility.

'perf trace' will be changed to look if that map is present and only
setup the bpf-output events if so.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-azwys8irxqx9053vpajr0k5h@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-12-18 12:23:58 -03:00
..
linux perf bpf: Add linux/socket.h to the headers accessible to bpf proggies 2018-08-30 15:52:20 -03:00
bpf.h perf bpf: Move perf_event_output() from stdio.h to bpf.h 2018-12-18 12:23:58 -03:00
pid_filter.h perf bpf: Add simple pid_filter class accessible to BPF proggies 2018-11-21 12:00:31 -03:00
stdio.h perf bpf: Move perf_event_output() from stdio.h to bpf.h 2018-12-18 12:23:58 -03:00
unistd.h perf bpf: Add unistd.h to the headers accessible to bpf proggies 2018-11-21 12:00:30 -03:00