]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Remove lookups from tracing_map hitcount
authorTom Zanussi <tom.zanussi@linux.intel.com>
Fri, 22 Sep 2017 19:58:18 +0000 (14:58 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 4 Oct 2017 17:05:42 +0000 (13:05 -0400)
commit99ead071c4dddacc514e0917168371b9b450c5bb
treec104ef79f4e69ac38d0f30b1abef8bc7101f4d87
parent08994a4d8b00ccddc7082013069f4326d7fba921
tracing: Remove lookups from tracing_map hitcount

Lookups inflate the hitcount, making it essentially useless.  Only
inserts and updates should really affect the hitcount anyway, so
explicitly filter lookups out.

Link: http://lkml.kernel.org/r/c8d9dc39d269a8abf88bf4102d0dfc65deb0fc7f.1506105045.git.tom.zanussi@linux.intel.com
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/tracing_map.c