]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a1ede68b02b2acf6f239607d91d05dcc24598ec
tree4469f19c58457806bb5a1ea7ed3508e140b19cea
parent3d7968d68e7193c2ac146593686ec58c34ce1b9c
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