summaryrefslogtreecommitdiff
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r--include/linux/perf_event.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index d5aa1bc3f088..d9988e3fd557 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -1045,6 +1045,11 @@ struct perf_event_context {
struct perf_time_ctx time;
/*
+ * Context clock, runs when in the guest mode.
+ */
+ struct perf_time_ctx timeguest;
+
+ /*
* These fields let us detect when two contexts have both
* been cloned (inherited) from a common ancestor.
*/
@@ -1176,6 +1181,7 @@ struct bpf_perf_event_data_kern {
*/
struct perf_cgroup_info {
struct perf_time_ctx time;
+ struct perf_time_ctx timeguest;
int active;
};