diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-24 16:02:17 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-25 15:12:11 +0100 |
commit | 76a06125dd57ed2c7559410168b543313fa0cc51 (patch) | |
tree | d12a79636ae246a3b895af031f2e7d55cb6e194d /net/xdp | |
parent | f52fdd64f6046ab121688155aebd66b52ce0077d (diff) | |
download | linux-76a06125dd57ed2c7559410168b543313fa0cc51.tar.gz linux-76a06125dd57ed2c7559410168b543313fa0cc51.tar.bz2 linux-76a06125dd57ed2c7559410168b543313fa0cc51.zip |
perf augmented_syscalls: Convert to bpf_map()
To make the code more compact, end result is the same:
# perf trace -e /home/acme/git/perf/tools/perf/examples/bpf/augmented_syscalls.c sleep 1
0.000 ( 0.008 ms): sleep/9663 openat(dfd: CWD, filename: "/etc/ld.so.cache", flags: RDONLY|CLOEXEC) = 3
0.022 ( 0.005 ms): sleep/9663 openat(dfd: CWD, filename: "/lib64/libc.so.6", flags: RDONLY|CLOEXEC) = 3
0.226 ( 0.006 ms): sleep/9663 openat(dfd: CWD, filename: "/usr/lib/locale/locale-archive", flags: RDONLY|CLOEXEC) = 3
#
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-23z08bgizqnbc3qdsyl7jyyg@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'net/xdp')
0 files changed, 0 insertions, 0 deletions