aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-05-28 11:11:47 -0300
committerArnaldo Carvalho de Melo <[email protected]>2018-06-04 10:28:52 -0300
commitbfa63519fb94fd8b4b0e5ffcd8bde650ea8b20c1 (patch)
tree1b85fa0b658d3a431b57981aaf85f3525b5211a3 /tools/perf/util/scripting-engines/trace-event-python.c
parente2d88aaa649e65851463426b133d87b61d3accbd (diff)
perf sort: Introduce addr_map_symbol__srcline() to make code more compact
Since we have 'struct addr_map_symbol' and the srcline sort order keys all operate on those, make the code more compact by introducing a function that receives a pointer to such struct and expands the arguments to map__srcline(). 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: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions