commit | b9b0c831bed2682c2e3e9f5420fb6985549ef020 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Fri Jan 20 11:44:47 2017 +0900 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Fri Jan 20 14:50:58 2017 -0500 |
tree | 51b2b123022cdf573f1621a37e12dd2d747311dc | |
parent | 4046bf023b0647d09704a32d9fe8aecbcee3e4c3 [diff] |
ftrace: Convert graph filter to use hash tables Use ftrace_hash instead of a static array of a fixed size. This is useful when a graph filter pattern matches to a large number of functions. Now hash lookup is done with preemption disabled to protect from the hash being changed/freed. Link: http://lkml.kernel.org/r/20170120024447.26097-3-namhyung@kernel.org Signed-off-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>