diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-01-11 19:47:51 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-26 11:02:06 +0200 |
commit | 1fe5e88c389a2f7bda893ed57aa0f3fff52b82b0 (patch) | |
tree | 703343f1d93cf0bf0765a726ab9e9eb065d108c1 /tools/vm | |
parent | 4e63115b6b9d040c153a9d4b53cd783e0ce9ae76 (diff) | |
download | linux-exynos-1fe5e88c389a2f7bda893ed57aa0f3fff52b82b0.tar.gz linux-exynos-1fe5e88c389a2f7bda893ed57aa0f3fff52b82b0.tar.bz2 linux-exynos-1fe5e88c389a2f7bda893ed57aa0f3fff52b82b0.zip |
tools lib traceevent: Fix get_field_str() for dynamic strings
[ Upstream commit d777f8de99b05d399c0e4e51cdce016f26bd971b ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/vm')
0 files changed, 0 insertions, 0 deletions