summaryrefslogtreecommitdiff
path: root/include/linux/array_size.h
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2025-12-05 16:16:41 -0800
committerPeter Zijlstra <peterz@infradead.org>2025-12-17 13:31:04 +0100
commitf5c7de8f84a152d559256aa4d0fc953118b73ca4 (patch)
tree811d4467bac90a238d4f7626118430a77e898950 /include/linux/array_size.h
parenteff95e170275d9e80b968f335cd03d0ac250d2d1 (diff)
perf: Clean up perf ctx time
The current perf tracks two timestamps for the normal ctx and cgroup. The same type of variables and similar codes are used to track the timestamps. In the following patch, the third timestamp to track the guest time will be introduced. To avoid the code duplication, add a new struct perf_time_ctx and factor out a generic function update_perf_time_ctx(). No functional change. Suggested-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Mingwei Zhang <mizhang@google.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Xudong Hao <xudong.hao@intel.com> Link: https://patch.msgid.link/20251206001720.468579-6-seanjc@google.com
Diffstat (limited to 'include/linux/array_size.h')
0 files changed, 0 insertions, 0 deletions