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)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 11 Jul 2016 03:07:15 +0000 (23:07 -0400)
commitcedfda9c15cbb1404ba6acdc2d3ea3fc73aa76f8
treed612aafd5745df720af3a1de272531bc4c22b56e
parent7925f4fb3d8b5b0c1bb9c5ded85078197c6f87af
perf tools: handle spaces in file names obtained from /proc/pid/maps

[ Upstream commit 89fee59b504f86925894fcc9ba79d5c933842f93 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
tools/perf/util/event.c