diff options
author | 2019-10-17 16:37:18 -0300 | |
---|---|---|
committer | 2019-10-17 17:27:43 -0300 | |
commit | 2b00bb627f62ed1c6180f49f7883789bc5e1b33f (patch) | |
tree | f56e4417628d220ba4e72f30eb0c5b4409bee200 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | perf trace: Hide evsel->access further, simplify code (diff) | |
download | wireguard-linux-2b00bb627f62ed1c6180f49f7883789bc5e1b33f.tar.xz wireguard-linux-2b00bb627f62ed1c6180f49f7883789bc5e1b33f.zip |
perf trace: Introduce 'struct evsel__trace' for evsel->priv needs
For syscalls we need to cache the 'syscall_id' and 'ret' field offsets
but as well have a pointer to the syscall_fmt_arg array for the fields,
so that we can expand strings in filter expressions, so introduce
a 'struct evsel_trace' to have in evsel->priv that allows for that.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-hx8ukasuws5sz6rsar73cocv@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