]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf tools: handle spaces in file names obtained from /proc/pid/maps
authorMarcin Ślusarz <marcin.slusarz@gmail.com>
Tue, 19 Jan 2016 19:03:03 +0000 (20:03 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 9 Nov 2016 14:09:19 +0000 (06:09 -0800)
commit5667a7978d10167b82948d1c11b8aed9db5f0c71
tree82737f81da63056c8b8a37bf72a18570e5068f9b
parent8192cc585c07fa31f5fc0db64a3a787862a6366e
perf tools: handle spaces in file names obtained from /proc/pid/maps

Steam frequently puts game binaries in folders with spaces.

Note: "(deleted)" markers are now treated as part of the file name.

Signed-off-by: Marcin Ślusarz <marcin.slusarz@gmail.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Fixes: 6064803313ba ("perf tools: Use sscanf for parsing /proc/pid/maps")
Link: http://lkml.kernel.org/r/20160119190303.GA17579@marcin-Inspiron-7720
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
(cherry picked from commit 89fee59b504f86925894fcc9ba79d5c933842f93)

Orabug: 25072114
Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
tools/perf/util/event.c