aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2024-06-24 23:11:01 +0300
committerPeter Zijlstra <peterz@infradead.org>2024-07-04 16:00:23 +0200
commit0ca4da2412da05fb9dd0b5d90dcc8026219f0f29 (patch)
treee00e70ea550c741ea37fb45bfa608a39ef6404e0 /scripts/gdb/linux/timerlist.py
parent43deb76b19663a96ec2189d8f4eb9a9dc2d7623f (diff)
perf: Make rb_alloc_aux() return an error immediately if nr_pages <= 0
rb_alloc_aux() should not be called with nr_pages <= 0. Make it more robust and readable by returning an error immediately in that case. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20240624201101.60186-8-adrian.hunter@intel.com
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions