aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2020-07-16 13:11:24 +0800
committerWill Deacon <[email protected]>2020-07-20 11:50:47 +0100
commit1b86abc1c645ad5c9c7bf70910cb3ce73939d2d7 (patch)
tree8f72d9b938e23f26de7f0be72a0e11efc77c8b1c /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parent539707caa1a89ee4efc57b4e4231c20c46575ccc (diff)
sched_clock: Expose struct clock_read_data
In order to support perf_event_mmap_page::cap_time features, an architecture needs, aside from a userspace readable counter register, to expose the exact clock data so that userspace can convert the counter register into a correct timestamp. Provide struct clock_read_data and two (seqcount) helpers so that architectures (arm64 in specific) can expose the numbers to userspace. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Leo Yan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions