]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib traceevent: Let filtering numbers by string use function names
authorSteven Rostedt <srostedt@redhat.com>
Tue, 22 May 2012 05:45:21 +0000 (14:45 +0900)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 4 Jul 2012 04:40:30 +0000 (13:40 +0900)
commit1c27960e464a3690431098d7edb1dacb2259c4c3
treeb9211cae3213ad8b1d771363068ab3eda5ac3dc0
parent8e6d4f5cdfbb0ab063853dddc16453310352c99b
tools lib traceevent: Let filtering numbers by string use function names

As a pointer can be converted into a function name, let the filters
work with the function name as well as with the pointer number.  If
the comparison expects a string, then convert numbers into functions,
but only when the number is the same size as a long.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/n/tip-oxsa1qkr2eq7u8d7r0aapedu@git.kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/lib/traceevent/parse-filter.c