summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linux.alibaba.com>2025-02-07 12:44:20 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 10:05:42 +0300
commitcd81c424b53fa174df1e18b021806bc978c8fb7f (patch)
treedf529ce97aecb29467beb2c88debf619183784fc /tools/perf/scripts/python/stackcollapse.py
parentd5e4e147c0f59259cd527d58295ba1bfefbad481 (diff)
downloadlinux-cd81c424b53fa174df1e18b021806bc978c8fb7f.tar.xz
mm: shmem: change the return value of shmem_find_swap_entries()
The shmem_find_swap_entries() originally returned the index corresponding to the swap entry, but no callers used this return value. It should return the number of entries that were found like other functions, which can be used by the callers. No functional changes. Link: https://lkml.kernel.org/r/070489b5946b8379b2a2d25f78115cef167cd145.1738918357.git.baolin.wang@linux.alibaba.com Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: David Hildenbrand <david@redhat.com> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions