commit | 2b00bb627f62ed1c6180f49f7883789bc5e1b33f | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <[email protected]> | Thu Oct 17 16:37:18 2019 -0300 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Thu Oct 17 17:27:43 2019 -0300 |
tree | f56e4417628d220ba4e72f30eb0c5b4409bee200 | |
parent | 8b913df50f56a26b9e336becdd0af9d5ce3831cd [diff] |
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 <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Luis Cláudio Gonçalves <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>