diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2025-07-10 09:42:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-20 18:30:29 +0200 |
commit | decbacd6a9c592b40ca0aa113fd04835ecb4f570 (patch) | |
tree | bf15e931eaf57954085c9f6d929239c6bc8d5d5c /tools/lib/bpf/libbpf.c | |
parent | 8ab6e67ae52462f9594d7b74cd9678f14bb031b1 (diff) |
s390/time: Use monotonic clock in get_cycles()
[ Upstream commit 09e7e29d2b49ba84bcefb3dc1657726d2de5bb24 ]
Otherwise the code might not work correctly when the clock
is changed.
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions