diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-08-07 16:21:44 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-08-08 15:55:58 -0300 |
commit | d3d1c4bdf5a793ab10c448f9cf5aa5b19ce026d3 (patch) | |
tree | 25f441c735a466d97804aeebba1c8dfc5a61cbba /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 78e890ea8683f7d570f911637b23b23d27be4aed (diff) | |
download | linux-stable-d3d1c4bdf5a793ab10c448f9cf5aa5b19ce026d3.tar.gz linux-stable-d3d1c4bdf5a793ab10c448f9cf5aa5b19ce026d3.tar.bz2 linux-stable-d3d1c4bdf5a793ab10c448f9cf5aa5b19ce026d3.zip |
perf trace: Setup the augmented syscalls bpf-output event fields
The payload that is put in place by the eBPF script attached to
syscalls:sys_enter_openat (and other syscalls with pointers, in the
future) can be consumed by the existing sys_enter beautifiers if
evsel->priv is setup with a struct syscall_tp with struct tp_fields for
the 'syscall_id' and 'args' fields expected by the beautifiers, this
patch does just that.
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-xfjyog8oveg2fjys9r1yy1es@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions