summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/ftrace.c
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2015-03-09 16:34:18 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-03-13 11:15:44 (GMT)
commit0a64815091bd0ad6c6cdfaac2fae55b0f3ecf974 (patch)
treee9e3b7cc479cf77b9264a1a22b2668f98a0ae062 /arch/s390/kernel/ftrace.c
parentc202baf017aea0c860e53131bc55bb1af7177e76 (diff)
downloadlinux-0a64815091bd0ad6c6cdfaac2fae55b0f3ecf974.tar.xz
s390/cpum_sf: add diagnostic sampling event only if it is authorized
The SF_CYCLES_BASIC_DIAG is always registered even if it is turned of in the current hardware configuration. Because diagnostic-sampling is typically not turned on in the hardware configuration, do not register this perf event by default. Enable it only if the diagnostic-sampling function is authorized. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/ftrace.c')
0 files changed, 0 insertions, 0 deletions