]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 May 2016 21:48:53 +0000 (14:48 -0700)
commitdcfdb38c41385bc3cb7be295eb5b9d4b00ea1177
treef34ee561b36707312e7e34e6f42e70a90a203983
parentc3173539ec17901391863321e1eaf335b0029a09
perf tools: handle spaces in file names obtained from /proc/pid/maps

commit 89fee59b504f86925894fcc9ba79d5c933842f93 upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/perf/util/event.c