aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-05-24 11:17:34 -0300
committerArnaldo Carvalho de Melo <[email protected]>2018-06-04 10:28:50 -0300
commitf622df5ed768ce7c049af99196c1b7b0a2c0d385 (patch)
tree41ca2747fea910e98af63ae49cad620b941f900d /tools/perf/scripts/python/syscall-counts-by-pid.py
parent4f5aeecd0d1233cbd0ccd60f4d6701404884471a (diff)
perf probe: Use return of map__get() to make code more compact
The __get() idiom returns a reference count for the object passed, i.e. all functions of this type return the object passed, so take advantage of that to make the code more compact. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Masami Hiramatsu <[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/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions