fsdax: Remove unused trace events for dax insert mapping
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 29 May 2025 19:22:11 +0000 (15:22 -0400)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 3 Jun 2025 19:18:45 +0000 (15:18 -0400)
commita4a45a9a72f3a9eaa17ec502d6e97c8eaa901825
tree944345123ff509a4b4e22c8f344072fb716ec03c
parent167d7ede0007d320a891494be57b635b4c069995
fsdax: Remove unused trace events for dax insert mapping

When the dax_fault_actor() helper was factored out, it removed the calls
to the dax_pmd_insert_mapping and dax_insert_mapping events but never
removed the events themselves. As each event created takes up memory
(roughly 5K each), this is a waste as it is never used.

Remove the unused dax_pmd_insert_mapping and dax_insert_mapping trace
events.

Link: https://lore.kernel.org/all/20250529130138.544ffec4@gandalf.local.home/
Cc: Shiyang Ruan <ruansy.fnst@fujitsu.com>
Cc: "Darrick J. Wong" <djwong@kernel.org>
Cc: Ross Zwisler <zwisler@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://lore.kernel.org/20250529152211.688800c9@gandalf.local.home
Fixes: c2436190e492 ("fsdax: factor out a dax_fault_actor() helper")
Acked-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
include/trace/events/fs_dax.h