diff options
author | Kuan-Wei Chiu <[email protected]> | 2024-05-24 23:29:53 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-06-24 22:24:59 -0700 |
commit | 2eb637c649a3d89c5483dc851ce98d56717a36d2 (patch) | |
tree | 90c8a80d590ffc6c155c2ac992e4d1fa1283ac65 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 420f171031207a13c83560b2ebb32ccc3c8ed6df (diff) |
lib min_heap: update min_heap_push() and min_heap_pop() to return bool values
Modify the min_heap_push() and min_heap_pop() to return a boolean value.
They now return false when the operation fails and true when it succeeds.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kuan-Wei Chiu <[email protected]>
Reviewed-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Bagas Sanjaya <[email protected]>
Cc: Brian Foster <[email protected]>
Cc: Ching-Chun (Jim) Huang <[email protected]>
Cc: Coly Li <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kent Overstreet <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Matthew Sakai <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions