UPSTREAM: arm64: perf: Convert event enums to #defines
authorDrew Richardson <drew.richardson@arm.com>
Thu, 22 Oct 2015 14:07:01 +0000 (07:07 -0700)
committerGerrit Code Review <gerrit@rock-chips.com>
Fri, 1 Jul 2016 02:35:51 +0000 (10:35 +0800)
commitbf9237a60bc610d2de38ea7f01a42fb107dab723
tree10ad84f18a84be235434df2aabc78ed72d6bf65d
parent96ecee29d409048877ca9e0a1903d53757d923a1
UPSTREAM: arm64: perf: Convert event enums to #defines

The enums are not necessary and this allows the event values to be
used to construct static strings at compile time.

Change-Id: I01049434e5ddc5c51b7ae914e9c55a0ef6bf66d9
Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit 90381cba64591e27d0e8bbfe71bf8a98bd2a3db3)
arch/arm64/kernel/perf_event.c