diff options
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | 2019-04-16 15:18:29 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-05-03 02:54:59 +1000 |
commit | 216c3087a346db8d7c8a064d2b8f0f49e4694934 (patch) | |
tree | 8577264a377637135b8c91ea82ab66159cd422de /include/linux | |
parent | powerpc/perf: Rearrange setting of ldbar for thread-imc (diff) | |
download | linux-dev-216c3087a346db8d7c8a064d2b8f0f49e4694934.tar.xz linux-dev-216c3087a346db8d7c8a064d2b8f0f49e4694934.zip |
powerpc/perf: Add privileged access check for thread_imc
Add code to restrict user access to thread_imc pmu since
some event report privilege level information.
Fixes: f74c89bd80fb3 ("powerpc/perf: Add thread IMC PMU support")
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Anju T Sudhakar <anju@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions