diff options
author | 2018-01-11 19:47:51 -0500 | |
---|---|---|
committer | 2018-01-17 10:23:21 -0300 | |
commit | d777f8de99b05d399c0e4e51cdce016f26bd971b (patch) | |
tree | 4c9076efb8208328bde65360967241bf37aa1a7e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools lib traceevent: Fix missing break in FALSE case of pevent_filter_clear_trivial() (diff) | |
download | linux-dev-d777f8de99b05d399c0e4e51cdce016f26bd971b.tar.xz linux-dev-d777f8de99b05d399c0e4e51cdce016f26bd971b.zip |
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/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions