kernel_optimize_test/tools/perf/include/bpf
Arnaldo Carvalho de Melo 1475d35c4a perf bpf: Add unistd.h to the headers accessible to bpf proggies
Start with a getpid() function wrapping BPF_FUNC_get_current_pid_tgid,
idea is to mimic the system headers.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.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-zo8hv22onidep7tm785dzxfk@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-11-21 12:00:30 -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: Add syscall_exit() helper 2018-08-30 15:52:20 -03:00
stdio.h perf bpf: Add bpf/stdio.h wrapper to bpf_perf_event_output function 2018-08-08 15:55:55 -03:00
unistd.h perf bpf: Add unistd.h to the headers accessible to bpf proggies 2018-11-21 12:00:30 -03:00