tracing: Remove code which merges duplicates
authorVedang Patel <vedang.patel@intel.com>
Tue, 16 Jan 2018 02:51:38 +0000 (20:51 -0600)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 10 Mar 2018 21:05:49 +0000 (16:05 -0500)
commitc193707dde77ace92a649cd59a17e105e2fbeaef
tree4469f19c58457806bb5a1ea7ed3508e140b19cea
parentcbf4100efb8f279b6f35917b748b2239019c7a96
tracing: Remove code which merges duplicates

We now have the logic to detect and remove duplicates in the
tracing_map hash table. The code which merges duplicates in the
histogram is redundant now. So, modify this code just to detect
duplicates. The duplication detection code is still kept to ensure
that any rare race condition which might cause duplicates does not go
unnoticed.

Link: http://lkml.kernel.org/r/55215cf59e2674391bdaf772fdafc4c393352b03.1516069914.git.tom.zanussi@linux.intel.com
Signed-off-by: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_events_hist.c
kernel/trace/tracing_map.c
kernel/trace/tracing_map.h