]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit83c07ecc4203728e85fc4a2ce6fdf25d16ea118e
treec104ef79f4e69ac38d0f30b1abef8bc7101f4d87
parenta15f7fc20389a8827d5859907568b201234d4b79
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