diff options
author | Kuan-Wei Chiu <[email protected]> | 2024-05-24 23:29:48 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-06-24 22:24:57 -0700 |
commit | 0562d54ddc3dc195f338bd8e816dd8ff154f44ad (patch) | |
tree | 35b35f79e06b518c31ff7f0f98358b40e6670b31 /tools/perf/scripts/python/syscall-counts.py | |
parent | e146683ccff9af2d26b70a9ea4c87f5a86eff0c4 (diff) |
lib min_heap: add min_heap_peek()
Add min_heap_peek() to retrieve a pointer to the smallest element. The
pointer is cast to the appropriate type of heap elements.
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions