tracing: Make hash-ptr option default
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 12 Feb 2021 16:51:06 +0000 (11:51 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 12 Feb 2021 16:52:59 +0000 (11:52 -0500)
Since the original behavior of the trace events is to hash the %p pointers,
make that the default, and have developers have to enable the option in
order to have them unhashed.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c

index 16e252d39016954c15355e774355efcb03b0b14d..f5e8e39d6f5784576cb5d0136866666698e914eb 100644 (file)
@@ -408,7 +408,8 @@ EXPORT_SYMBOL_GPL(unregister_ftrace_export);
         TRACE_ITER_PRINT_PARENT | TRACE_ITER_PRINTK |                  \
         TRACE_ITER_ANNOTATE | TRACE_ITER_CONTEXT_INFO |                \
         TRACE_ITER_RECORD_CMD | TRACE_ITER_OVERWRITE |                 \
-        TRACE_ITER_IRQ_INFO | TRACE_ITER_MARKERS)
+        TRACE_ITER_IRQ_INFO | TRACE_ITER_MARKERS |                     \
+        TRACE_ITER_HASH_PTR)
 
 /* trace_options that are only supported by global_trace */
 #define TOP_LEVEL_TRACE_FLAGS (TRACE_ITER_PRINTK |                     \