perf tools: Fix symbol and object code resolution for vdso32 and vdsox32
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 4 Jun 2018 12:56:54 +0000 (15:56 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Jun 2018 15:52:04 +0000 (12:52 -0300)
commitaef4feace285f27c8ed35830a5d575bec7f3e90a
treeed8eb21f660c87e067b4173d31e8dd73ba3ff832
parentdcaeae4e2c266452e04dc3d83b10469be9fe419e
perf tools: Fix symbol and object code resolution for vdso32 and vdsox32

Fix __kmod_path__parse() so that perf tools does not treat vdso32 and
vdsox32 as kernel modules and fail to find the object.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: stable@vger.kernel.org
Fixes: 1f121b03d058 ("perf tools: Deal with kernel module names in '[]' correctly")
Link: http://lkml.kernel.org/r/1528117014-30032-3-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/dso.c