Re: [PATCH] perf symbol: Do not apply symfs for an absolute vmlinuxpath

From: David Ahern
Date: Wed Jul 17 2013 - 09:31:40 EST


On 7/17/13 2:08 AM, Namhyung Kim wrote:
From: Namhyung Kim <namhyung.kim@xxxxxxx>

If an user gives both of --symfs and --vmlinux option, the vmlinux
will be searched under the symfs directory. This is somewhat
confusing since vmlinux often lives in kernel build directory or
somewhere other than user space binaries.

So it'd be better not adding symfs prefix for a vmlinux if it has an
absolute pathname.

Reported-by: Kwanghyun Yoo <ykh815.yoo@xxxxxxx>
Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Acked-by: David Ahern <dsahern@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/