aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fd/array.h
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-01-27 00:00:48 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-02-10 18:40:56 +0000
commitba8a56c7e6e7b343a360a54c0f0005d7ebf63f75 (patch)
tree0b8e8ef3395afba38650915eb3e19b74fd8c7ec7 /tools/lib/api/fd/array.h
parentperf lock: Sort map info based on class name (diff)
downloadkernel-ba8a56c7e6e7b343a360a54c0f0005d7ebf63f75.tar.gz
kernel-ba8a56c7e6e7b343a360a54c0f0005d7ebf63f75.zip
perf lock: Fix lock name length check for printing
It has 20 character spaces for name so lock names shorter than 20 should be printed without ellipsis. Before: # perf lock report Name acquired contended avg wait (ns) total wait (ns) max wait (ns) min wait (ns) rcu_read_lock 251225 0 0 0 0 0 &(ei->i_block_re... 8731 0 0 0 0 0 &sb->s_type->i_l... 8731 0 0 0 0 0 hrtimer_bases.lo... 5261 0 0 0 0 0 hrtimer_bases.lo... 2626 0 0 0 0 0 hrtimer_bases.lo... 1953 0 0 0 0 0 hrtimer_bases.lo... 1382 0 0 0 0 0 cpu_hotplug_lock... 1350 0 0 0 0 0 After: # perf lock report Name acquired contended avg wait (ns) total wait (ns) max wait (ns) min wait (ns) rcu_read_lock 251225 0 0 0 0 0 &(ei->i_block_re... 8731 0 0 0 0 0 &sb->s_type->i_l... 8731 0 0 0 0 0 hrtimer_bases.lock 5261 0 0 0 0 0 hrtimer_bases.lock 2626 0 0 0 0 0 hrtimer_bases.lock 1953 0 0 0 0 0 hrtimer_bases.lock 1382 0 0 0 0 0 cpu_hotplug_lock 1350 0 0 0 0 0 Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[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/lib/api/fd/array.h')
0 files changed, 0 insertions, 0 deletions