Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tracing: Make hash-ptr option default

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>

+2 -1
+2 -1
kernel/trace/trace.c
··· 408 408 TRACE_ITER_PRINT_PARENT | TRACE_ITER_PRINTK | \ 409 409 TRACE_ITER_ANNOTATE | TRACE_ITER_CONTEXT_INFO | \ 410 410 TRACE_ITER_RECORD_CMD | TRACE_ITER_OVERWRITE | \ 411 - TRACE_ITER_IRQ_INFO | TRACE_ITER_MARKERS) 411 + TRACE_ITER_IRQ_INFO | TRACE_ITER_MARKERS | \ 412 + TRACE_ITER_HASH_PTR) 412 413 413 414 /* trace_options that are only supported by global_trace */ 414 415 #define TOP_LEVEL_TRACE_FLAGS (TRACE_ITER_PRINTK | \