summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/auxtrace.h
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2018-01-11 19:47:51 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-01-17 10:23:21 -0300
commitd777f8de99b05d399c0e4e51cdce016f26bd971b (patch)
tree4c9076efb8208328bde65360967241bf37aa1a7e /tools/perf/util/auxtrace.h
parent806efaed3cacab1521895d20bb3b5ed610909299 (diff)
downloadlinux-d777f8de99b05d399c0e4e51cdce016f26bd971b.tar.bz2
tools lib traceevent: Fix get_field_str() for dynamic strings
If a field is a dynamic string, get_field_str() returned just the offset/size value and not the string. Have it parse the offset/size correctly to return the actual string. Otherwise filtering fails when trying to filter fields that are dynamic strings. Reported-by: Gopanapalli Pradeep <prap_hai@yahoo.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/r/20180112004823.146333275@goodmis.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/auxtrace.h')
0 files changed, 0 insertions, 0 deletions