diff options
author | Oleg Nesterov <[email protected]> | 2024-09-29 16:42:53 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2024-10-07 09:28:45 +0200 |
commit | c5356ab1db28cafc448a50c26ba84442237abb98 (patch) | |
tree | e07dfec4f5af6e085c89272a115a308c9d431d89 /tools/perf/scripts/python/syscall-counts.py | |
parent | 1cee988c1d21eabc936d1401811012522083e36f (diff) |
uprobes: pass utask to xol_get_insn_slot() and xol_free_insn_slot()
Add the "struct uprobe_task *utask" argument to xol_get_insn_slot() and
xol_free_insn_slot(), their callers already have it so we can avoid the
unnecessary dereference and simplify the code.
Kill the "tsk" argument of xol_free_insn_slot(), it is always current.
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions