summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2022-06-16 21:06:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-13 19:42:19 +0300
commitece0857258cbaf20b9828157035999f46ca060c8 (patch)
tree87ab13dbf29e956a488c8ba850d6de4bbd9a8abf /include/crypto
parentf718e2cb3915a5ec68d6cee020c2650c7b6fad5e (diff)
downloadlinux-ece0857258cbaf20b9828157035999f46ca060c8.tar.xz
perf/core: Add a new read format to get a number of lost samples
[ Upstream commit 119a784c81270eb88e573174ed2209225d646656 ] Sometimes we want to know an accurate number of samples even if it's lost. Currenlty PERF_RECORD_LOST is generated for a ring-buffer which might be shared with other events. So it's hard to know per-event lost count. Add event->lost_samples field and PERF_FORMAT_LOST to retrieve it from userspace. Original-patch-by: Jiri Olsa <jolsa@redhat.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20220616180623.1358843-1-namhyung@kernel.org Stable-dep-of: 382c27f4ed28 ("perf: Fix perf_event_validate_size()") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions