diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-08-02 20:03:02 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-08-02 20:07:33 +0200 |
commit | aa823f58f7abf42f181fbaef4fdbe76eccea1c29 (patch) | |
tree | b23fadafd868b111419ce89ebf586d1a439c9236 /net/tipc/group.h | |
parent | perf trace: Rename some syscall_tp methods to raw_syscall (diff) | |
download | linux-aa823f58f7abf42f181fbaef4fdbe76eccea1c29.tar.xz linux-aa823f58f7abf42f181fbaef4fdbe76eccea1c29.zip |
perf trace: Allow setting up a syscall_tp struct without a format_field
To avoid having to ask libtraceevent to find a field by name when
handling each tracepoint event, we setup a struct syscall_tp with
a tp_field struct having an extractor function + the offset for the
"id", "args" and "ret" raw_syscalls:sys_{enter,exit} tracepoints.
Now that we want to do the same with syscalls:sys_{entry,exit}_NAME
individual syscall tracepoints, where we have "id" as "__syscall_nr" and
"args" as the actual series of per syscall parameters, we need more
flexibility from the routines that set up these pre-looked up syscall
tracepoint arg fields.
The next cset will use it.
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: Steven Rostedt <rostedt@goodmis.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-v59q5e0jrlzkpl9a1c7t81ni@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'net/tipc/group.h')
0 files changed, 0 insertions, 0 deletions