]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/khugepaged: refactor mm_khugepaged_scan_file tracepoint to remove filename from...
authorGautam Menghani <gautammenghani201@gmail.com>
Wed, 26 Oct 2022 04:45:24 +0000 (10:15 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 23 Nov 2022 02:50:41 +0000 (18:50 -0800)
commit045634ff1e8615714546d9dca92fcdbe0fd898ef
tree3c260d2e74a5ed40886ae02e3fd6f1b72ffa9ca2
parented86b74874f839f0e579bdf92ea0a5aabdfabebb
mm/khugepaged: refactor mm_khugepaged_scan_file tracepoint to remove filename from function call

Refactor the mm_khugepaged_scan_file tracepoint to move filename
dereference to the tracepoint definition, to maintain consistency with
other tracepoints[1].

[1]:lore.kernel.org/lkml/20221024111621.3ba17e2c@gandalf.local.home/

Link: https://lkml.kernel.org/r/20221026044524.54793-1-gautammenghani201@gmail.com
Fixes: d41fd2016ed07 ("mm/khugepaged: add tracepoint to hpage_collapse_scan_file()")
Signed-off-by: Gautam Menghani <gautammenghani201@gmail.com>
Reviewed-by: Yang Shi <shy828301@gmail.com>
Reviewed-by: Zach O'Keefe <zokeefe@google.com>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/trace/events/huge_memory.h
mm/khugepaged.c