diff options
| author | wuchi <[email protected]> | 2022-06-07 21:35:56 +0800 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-06-16 19:58:21 -0700 |
| commit | c0af32fdc625c0e7f03465a813b04cbfb5419a1e (patch) | |
| tree | b771c5d32d454ebdb3ba161b2871497117885b3c /tools/perf/scripts/python | |
| parent | 9776e3861e0e30330f6c8ca9c30348f336d24b1c (diff) | |
lib/btree: simplify btree_{lookup|update}
btree_{lookup|update} both need to look up node by key, using the common
parts(add function btree_lookup_node) to simplify code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: wuchi <[email protected]>
Cc: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions