]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
committerKamal Mostafa <kamal@canonical.com>
Mon, 16 May 2016 17:27:02 +0000 (10:27 -0700)
commit56727cb8d32db7607a3139338f3e237353083be8
tree87e2db0a946f308e78b224a3c34fd1afe01f0637
parentcee96f7cab14d5b13b2b9a8e6b1013ee3fc6881e
perf tools: handle spaces in file names obtained from /proc/pid/maps

BugLink: http://bugs.launchpad.net/bugs/1578798
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
tools/perf/util/event.c