aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-03-23 23:02:59 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-03-25 18:24:50 +0000
commit4bd9cab59f17eeee5749bae58212e0c9b314322b (patch)
treecfa08f6dba541b109fa1a977a9097c8892fd0111 /tools/perf/util/python.c
parentperf lock: Extend struct lock_key to have print function (diff)
downloadkernel-4bd9cab59f17eeee5749bae58212e0c9b314322b.tar.gz
kernel-4bd9cab59f17eeee5749bae58212e0c9b314322b.zip
perf lock: Add -F/--field option to control output
The -F/--field option is to customize the list of fields to output: $ perf lock report -F contended,wait_max -k avg_wait Name contended max wait (ns) avg wait (ns) slock-AF_INET6 1 23543 23543 &lruvec->lru_lock 5 18317 11254 slock-AF_INET6 1 10379 10379 rcu_node_1 1 2104 2104 &dentry->d_lockr... 1 1844 1844 &dentry->d_lockr... 1 1672 1672 &newf->file_lock 15 2279 1025 &dentry->d_lockr... 1 792 792 Signed-off-by: Namhyung Kim <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions