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:20:39 -0300
committerArnaldo Carvalho de Melo <[email protected]>2018-06-04 10:28:50 -0300
commit362379aad56fdc627a49e30d12c3ece900221898 (patch)
treea0825509e523cd1545d8cda682aae8efe718e7fe /tools/perf/scripts/python/syscall-counts-by-pid.py
parent5dbe23e8772299f227f1ac974752bc853e9814bb (diff)
perf tools: No need to check if the argument to __get() function is NULL
Those functions always check if the argument is NULL before trying to grab a reference count, and also will return the received object, so, to make code more compact, no need to check for NULL. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Krister Johansen <[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