[PATCH 04/44] perf trace: Allow setting up a syscall_tp struct without a format_field

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo 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.

[PATCH 04/44] perf trace: Allow setting up a syscall_tp struct without a format_field

2018-08-09 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo 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.