]> git.baikalelectronics.ru Git - kernel.git/commit
perf probe: Fix ARM 32 building error
authorWang Nan <wangnan0@huawei.com>
Wed, 8 Apr 2015 02:14:34 +0000 (02:14 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Apr 2015 13:49:48 +0000 (10:49 -0300)
commit261f42cf76a8a0a26cd07a724e57c41dc3a727e0
treeb38739fbcf865e29dd63c240210ac8d641230d50
parent43cf9fcc66e445bd75fb9016d49576573ba4af84
perf probe: Fix ARM 32 building error

Commit 92278e8b4825c41f1ef1a3a5f6d8073d763ddb1e ("perf probe: Fix to
handle aliased symbols in glibc") uses an absolute format '%lx' to
print u64 argument, which causes compiling error on ARM 32.

This patch replaces it with PRIx64.

Signed-off-by: Wang Nan <wangnan0@huawei.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1428459274-138470-1-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-event.c