perf event parser: Add const qualifier to evt_name and sys_name
authorWang Nan <wangnan0@huawei.com>
Wed, 13 Jul 2016 10:44:03 +0000 (10:44 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Jul 2016 02:09:03 +0000 (23:09 -0300)
commit8c619d6a333f98087816e64c62f0f2389e19ab4a
tree561038ef8e058dce94c1bdee621124bc49c6c052
parent705fa2190dfb3d02f83adcd1abdb4e7dc3434597
perf event parser: Add const qualifier to evt_name and sys_name

Add missing 'const' qualifiers so following commits are able to create
tracepoints using const strings.

Signed-off-by: Wang Nan <wangnan0@huawei.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1468406646-21642-4-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-events.c
tools/perf/util/parse-events.h