]> git.baikalelectronics.ru Git - kernel.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)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 5 Feb 2016 12:39:56 +0000 (09:39 -0300)
commite38bbdd039b1c94809d45d64e416f6e099ac0fd6
treec566c546f5c9de9f37cdefab7943c1c645e4ecda
parent1f4d360e18ed9876410d2d2d1f29f3c6d41533ea
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: e6dc8b642df4 ("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>
tools/perf/util/event.c