aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMike Kravetz <[email protected]>2019-11-30 17:56:40 -0800
committerLinus Torvalds <[email protected]>2019-12-01 12:59:08 -0800
commit1f9dccb25b8fb48778149a002bb25d4ac2899633 (patch)
treea3c8518f5710f003aac9599682529d347fb1f261 /tools/perf/scripts/python/stackcollapse.py
parent997cdcb068eb58d37f9f9b1d219368000066d272 (diff)
hugetlbfs: convert macros to static inline, fix sparse warning
huge_pte_offset() produced a sparse warning due to an improper return type when the kernel was built with !CONFIG_HUGETLB_PAGE. Fix the bad type and also convert all the macros in this block to static inline wrappers. Two existing wrappers in this block had lines in excess of 80 columns so clean those up as well. No functional change. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Mike Kravetz <[email protected]> Reported-by: Ben Dooks <[email protected]> Suggested-by: Jason Gunthorpe <[email protected]> Cc: Michael Ellerman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions