diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-17 15:22:47 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-18 23:14:24 -0300 |
commit | 82d4a1109fc302795a184a328f60ad28bf7b5989 (patch) | |
tree | 7e5dbedebcbd35a2f265c76966ec7e520b2286cc /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 65dfa1e7799edd114fbd3949f2783f4e69fd0305 (diff) |
perf trace: Group per syscall arg formatter info into one struct
Instead of having syscall_fmt.{arg_scnprintf,arg_parm}, introduce
struct syscall_arg_fmt and have these two, paving the way for more
state to change the formatting algorithms.
For instance, in the 'fcntl' 'cmd' case it is better not to suppress
it when being zero, showing instead its name "DUPFD".
We had that in an ad-hoc way just for strarrays, but with more involved
cases like fcntl, that can't be done with just a strarray, we'll need
a ".show_zero" arg in the 'cmd' syscall_arg_fmt.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions