[RFC 2/6] perf annotate: Define macro for arch names

2016-06-24 Thread Ravi Bangoria
Define macro for each arch name and use them instead of using arch name as string. Signed-off-by: Ravi Bangoria --- tools/perf/arch/common.c | 36 ++-- tools/perf/arch/common.h | 10 ++

[RFC 2/6] perf annotate: Define macro for arch names

2016-06-24 Thread Ravi Bangoria
Define macro for each arch name and use them instead of using arch name as string. Signed-off-by: Ravi Bangoria --- tools/perf/arch/common.c | 36 ++-- tools/perf/arch/common.h | 10 ++ tools/perf/util/unwind-libunwind.c | 5 +++-- 3