diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-03 15:57:42 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-07 12:22:18 -0300 |
commit | 8d1d4ff5e239d9ef385444bc0d855127d7b32754 (patch) | |
tree | c4895d14f423f689f16886614f59df224e0a504b /tools/perf/scripts/python/check-perf-trace.py | |
parent | 3714437d3fcc7956cabcb0077f2a506b61160a56 (diff) |
perf trace: Factor out the initialization of syscal_arg_fmt->scnprintf
We set the default scnprint routines for the syscall args based on its
type or on heuristics based on its names, now we'll use this for
tracepoints as well, so move it out of syscall__set_arg_fmts() and into
a routine that receive just an array of syscall_arg_fmt entries + the
tracepoint format fields list.
Cc: Adrian Hunter <[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]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions