diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-08-19 13:50:26 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-08-19 13:50:26 +0200 |
| commit | 0a98557023804f047f54875817dedc4aa431d899 (patch) | |
| tree | 14b14ee05e84a502e351ae4af0f833e300fba69c /kmod/cachepc.h | |
| parent | 329e7d4740bac8b740583dd68108ab9d3d0c06b7 (diff) | |
| download | cachepc-0a98557023804f047f54875817dedc4aa431d899.tar.gz cachepc-0a98557023804f047f54875817dedc4aa431d899.zip | |
Inline prime and probe into vmenter.S for better accuracy
Diffstat (limited to 'kmod/cachepc.h')
| -rwxr-xr-x | kmod/cachepc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kmod/cachepc.h b/kmod/cachepc.h index 13d38ca..eff4661 100755 --- a/kmod/cachepc.h +++ b/kmod/cachepc.h @@ -21,6 +21,9 @@ void *cachepc_aligned_alloc(size_t alignment, size_t size); void cachepc_save_msrmts(cacheline *head); void cachepc_print_msrmts(cacheline *head); +void cachepc_prime_vcall(uintptr_t ret, cacheline *cl); +void cachepc_probe_vcall(uintptr_t ret, cacheline *cl); + __attribute__((always_inline)) static inline cacheline *cachepc_prime(cacheline *head); |
