Hendrik Brueckner 0a64815091 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>
2015-03-13 12:15:44 +01:00
..
2014-10-27 13:27:02 +01:00
2012-05-16 14:42:41 +02:00
2015-01-22 12:16:01 +01:00
2015-02-12 09:37:24 +01:00
2011-01-05 12:47:31 +01:00
2015-01-22 12:16:01 +01:00
2014-05-20 08:58:40 +02:00
2015-01-22 12:15:57 +01:00
2015-01-22 12:16:01 +01:00
2014-11-18 18:23:03 +01:00
2015-01-22 12:16:01 +01:00
2014-12-01 11:06:55 +01:00
2015-02-12 09:37:23 +01:00
2014-12-18 13:37:17 +01:00
2015-01-22 12:16:01 +01:00