aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorRavi Bangoria <[email protected]>2020-05-14 16:47:35 +0530
committerMichael Ellerman <[email protected]>2020-05-19 00:11:05 +1000
commit6b424efa119d5ea06b15ff240dddc3b4b9f9cdfb (patch)
tree4ea2eb0294720b9913b767cabe2f93b498f26e9d /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent303e6a9ddcdc168e92253c78cdb4bbe1e10d78b3 (diff)
powerpc/watchpoint: Use loop for thread_struct->ptrace_bps
ptrace_bps is already an array of size HBP_NUM_MAX. But we use hardcoded index 0 while fetching/updating it. Convert such code to loop over array. ptrace interface to use multiple watchpoint remains same. eg: two PPC_PTRACE_SETHWDEBUG calls will create two watchpoint if underneath hw supports it. Signed-off-by: Ravi Bangoria <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Reviewed-by: Michael Neuling <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions