Re: [PATCH v4] perf lock contention: skip traceiter functions
From: Arnaldo Carvalho de Melo
Date: Thu Mar 21 2024 - 16:49:18 EST
On Thu, Mar 21, 2024 at 04:58:20PM -0300, Arnaldo Carvalho de Melo wrote:
> Thanks, testing it now on x86_64 and aarch64, will apply it then.
Done, applied, on aarch64:
root@roc-rk3399-pc:~# perf lock contention --use-bpf -a find / > /dev/null
contended total wait max wait avg wait type caller
6 6.03 s 6.03 s 1.00 s spinlock __tick_broadcast_oneshot_control+0xc0
19 811.74 ms 621.76 ms 42.72 ms spinlock rcu_core+0xec
2 201.76 ms 201.75 ms 100.88 ms spinlock sugov_update_shared+0x44
6 7.80 ms 2.35 ms 1.30 ms mutex regulator_lock_recursive+0x144
1 702.63 us 702.63 us 702.63 us rwsem:W __btrfs_tree_lock+0x2c
4 62.42 us 18.96 us 15.60 us spinlock tick_do_update_jiffies64+0x44
2 39.96 us 22.17 us 19.98 us spinlock __tick_broadcast_oneshot_control+0xc0
2 33.83 us 18.08 us 16.92 us mutex mmc_blk_rw_wait+0x138
1 21.58 us 21.58 us 21.58 us spinlock sugov_update_shared+0x44
1 16.92 us 16.92 us 16.92 us spinlock cpu_pm_enter+0x34
1 16.04 us 16.04 us 16.04 us mutex clk_prepare_lock+0x4c
root@roc-rk3399-pc:~# uname -a
Linux roc-rk3399-pc 6.1.68-12200-g1c40dda3081e #1 SMP PREEMPT_DYNAMIC Thu Dec 14 04:02:49 EST 2023 aarch64 aarch64 aarch64 GNU/Linux
root@roc-rk3399-pc:~#
its in tmp.perf-tools-next, will move to perf-tools-next in the next batch, after build
tests together with other patches.
Thanks!
- Arnaldo