diff options
| author | Andrii Nakryiko <[email protected]> | 2024-05-21 09:33:58 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-05-25 10:46:02 -0700 |
| commit | 4a8f635a60540888dab3804992e86410360339c8 (patch) | |
| tree | d5616c72bde13807d4ff75fab5acfa3c5371143b /tools/perf/scripts/python/stackcollapse.py | |
| parent | 46ba0e49b64232adac35a2bc892f1710c5b0fb7f (diff) | |
bpf: remove unnecessary rcu_read_{lock,unlock}() in multi-uprobe attach logic
get_pid_task() internally already calls rcu_read_lock() and
rcu_read_unlock(), so there is no point to do this one extra time.
This is a drive-by improvement and has no correctness implications.
Acked-by: Jiri Olsa <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions