diff options
author | Benoît Ganne <bganne@cisco.com> | 2021-08-05 11:47:52 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-08-20 11:22:29 +0000 |
commit | 4e3af51a66384295eec5b1cf980ef4d88b949e1d (patch) | |
tree | c7b3db4ba08b676099adbcf830232f7476fd37a2 /src/vlib/log.c | |
parent | 03f2a015999ed9ba34041afb408a22ea5fe601ff (diff) |
perfmon: fix perf event user page read
When mmap()-ing perf event in userspace, we must adhere to the kernel
update protocol to read consistent values.
Also, 'offset' is an offset to add to the counter value, not to apply
to the PMC index.
Type: fix
Change-Id: I59106bb3a48185ff3fcb0d2f09097269a67bb6d6
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vlib/log.c')
0 files changed, 0 insertions, 0 deletions