aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorKairui Song <[email protected]>2022-12-20 02:58:39 +0800
committerAndrew Morton <[email protected]>2023-01-18 17:12:45 -0800
commit16ba391e9c6bc26e6f0c950f2117f57b8e542d71 (patch)
tree8a4aafd9f2f6e0a05567240a26fe974a9b493b68 /tools/perf/scripts/python/event_analyzing_sample.py
parent18ad72f5b7186336646182b17e0654bf907b39e6 (diff)
swap: fold swap_ra_clamp_pfn into swap_ra_info
This makes the code cleaner. This helper is made of only two line of self explanational code and not reused anywhere else. And this actually make the compiled object smaller by a bit. bloat-o-meter results on x86_64 of mm/swap_state.o: add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-35 (-35) Function old new delta swap_ra_info.constprop 512 477 -35 Total: Before=8388, After=8353, chg -0.42% Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kairui Song <[email protected]> Reviewed-by: "Huang, Ying" <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Cc: Miaohe Lin <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions