diff options
author | Gautam Menghani <[email protected]> | 2022-10-26 10:52:18 +0530 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-12-11 18:12:09 -0800 |
commit | 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6 (patch) | |
tree | 535bb62092c43a54d984d8dba689070ca404d5fb /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f7355e99d9f71fcde093193fd4b569a648ba5ce3 (diff) |
mm/khugepaged: add tracepoint to collapse_file()
"mm_khugepaged_collapse_file" for capturing is_shmem.
Currently, is_shmem is not being captured. Capturing is_shmem is useful
as it can indicate if tmpfs is being used as a backing store instead of
persistent storage. Add the tracepoint in collapse_file() named
"mm_khugepaged_collapse_file" for capturing is_shmem.
[[email protected]: swap is_shmem and addr to save space, per Steven Rostedt]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Gautam Menghani <[email protected]>
Reviewed-by: Steven Rostedt (Google) <[email protected]> [tracing]
Cc: David Hildenbrand <[email protected]>
Cc: Masami Hiramatsu (Google) <[email protected]>
Cc: Yang Shi <[email protected]>
Cc: Zach O'Keefe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions