summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2024-11-22 06:59:21 +0300
committerPeter Zijlstra <peterz@infradead.org>2024-12-02 14:01:38 +0300
commit83e3dc9a5d4d7402adb24090a77327245d593129 (patch)
treee2d839ade7aff2c43475ed152492dca7be397562 /tools/perf/scripts/python/exported-sql-viewer.py
parent03a001b156d2da186a5618de242750d06bf81e2d (diff)
downloadlinux-83e3dc9a5d4d7402adb24090a77327245d593129.tar.xz
uprobes: simplify find_active_uprobe_rcu() VMA checks
At the point where find_active_uprobe_rcu() is used we know that VMA in question has triggered software breakpoint, so we don't need to validate vma->vm_flags. Keep only vma->vm_file NULL check. Suggested-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Acked-by: Oleg Nesterov <oleg@redhat.com> Link: https://lkml.kernel.org/r/20241122035922.3321100-2-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions