Andrew Murray
eb41238cf1
arm64: KVM: Add accessors to track guest/host only counters
...
In order to effeciently switch events_{guest,host} perf counters at
guest entry/exit we add bitfields to kvm_cpu_context for guest and host
events as well as accessors for updating them.
A function is also provided which allows the PMU driver to determine
if a counter should start counting when it is enabled. With exclude_host,
we may only start counting when entering the guest.
Signed-off-by: Andrew Murray <andrew.murray@arm.com >
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com >
2019-04-24 15:35:30 +01:00
..
2019-01-23 22:14:56 +01:00
2019-02-07 23:10:45 +01:00
2019-02-06 10:05:20 +00:00
2019-02-06 10:05:21 +00:00
2019-01-10 11:11:46 +00:00
2019-02-26 16:57:59 +00:00
2019-02-28 16:24:25 +00:00
2019-02-11 14:27:05 +01:00
2019-02-11 14:27:05 +01:00
2018-11-01 11:01:40 +01:00
2018-12-06 16:47:04 +00:00
2018-06-21 12:52:12 +02:00
2018-12-28 12:11:44 -08:00
2019-01-16 12:09:11 +00:00
2018-07-05 17:24:36 +01:00
2019-02-11 14:27:05 +01:00
2018-10-25 11:14:36 -07:00
2019-02-06 10:05:17 +00:00
2019-02-06 10:05:20 +00:00
2019-03-19 14:55:10 +00:00
2019-03-10 10:17:23 -07:00
2019-01-23 22:14:56 +01:00
2019-02-13 19:12:50 +01:00
2019-02-06 10:05:19 +00:00
2018-12-10 18:42:18 +00:00
2018-12-13 16:42:45 +00:00
2019-02-11 11:07:49 +01:00
2019-04-18 17:14:01 +01:00
2018-05-17 18:19:53 +01:00
2018-12-25 17:41:56 -08:00
2019-01-03 18:57:57 -08:00
2019-02-06 10:05:16 +00:00
2019-03-05 21:07:15 -08:00
2018-06-26 09:07:58 +02:00
2018-12-06 14:38:51 +00:00
2018-11-27 18:47:33 +00:00
2019-02-28 17:24:27 +00:00
2018-08-03 12:14:09 +02:00
2019-02-12 11:33:57 +00:00
2018-09-27 17:56:47 +02:00
2018-12-28 12:11:43 -08:00
2018-12-07 12:35:53 +00:00
2018-09-25 15:10:54 +01:00
2018-12-06 14:38:52 +00:00
2018-06-21 12:33:07 +02:00
2018-12-26 11:46:28 -08:00
2019-04-24 15:35:24 +01:00
2019-04-24 15:30:40 +01:00
2019-04-24 15:35:30 +01:00
2019-03-29 14:41:52 +00:00
2019-02-19 21:05:55 +00:00
2019-04-24 15:30:40 +01:00
2019-02-07 23:10:45 +01:00
2018-03-27 13:14:49 +01:00
2019-03-10 10:17:23 -07:00
2018-12-10 18:42:18 +00:00
2019-01-21 17:31:15 +00:00
2018-11-27 19:00:45 +00:00
2019-02-18 10:54:47 +00:00
2018-07-31 10:13:50 +01:00
2018-07-06 13:18:18 +01:00
2018-09-21 12:02:45 +01:00
2018-09-03 16:50:35 +02:00
2018-05-07 07:15:41 +02:00
2018-12-12 14:43:35 +00:00
2018-12-13 15:34:44 +00:00
2019-01-04 13:13:47 -08:00
2019-02-28 16:24:25 +00:00
2019-01-10 17:49:35 +00:00
2018-12-26 11:46:28 -08:00
2018-12-13 16:42:47 +00:00
2018-12-07 12:35:53 +00:00
2019-02-06 10:05:18 +00:00
2019-01-31 17:38:19 +00:00
2019-02-06 10:05:18 +00:00
2018-07-26 11:36:07 +01:00
2018-07-11 17:02:02 +01:00
2019-01-03 15:14:32 +00:00
2018-07-05 10:05:06 +01:00
2018-07-05 10:05:06 +01:00
2018-12-12 18:45:31 +00:00
2018-07-26 11:36:07 +01:00
2018-12-18 15:14:50 +00:00
2018-08-27 14:48:48 +02:00
2018-10-26 16:25:18 -07:00
2018-11-01 11:01:40 +01:00
2018-07-12 14:49:48 +01:00
2018-07-12 14:49:48 +01:00
2019-03-29 14:41:53 +00:00
2019-02-07 23:10:45 +01:00
2019-02-26 16:41:10 +00:00
2018-09-11 16:49:12 +01:00
2018-12-25 17:41:56 -08:00
2018-09-10 11:05:47 +02:00
2018-09-27 21:55:15 +02:00
2019-03-10 10:17:23 -07:00
2019-02-07 00:13:28 +01:00
2019-02-07 00:13:28 +01:00
2018-03-26 18:01:41 +01:00
2018-12-06 16:47:06 +00:00