Namhyung Kim 119a784c81 perf/core: Add a new read format to get a number of lost samples
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
2022-06-28 09:08:31 +02:00
..
2022-05-26 17:13:43 -07:00
2022-06-02 07:17:59 +02:00
2022-05-25 16:18:27 -07:00
2022-05-25 11:32:53 -07:00
2022-06-02 08:55:01 -07:00
2022-05-26 16:57:20 -07:00
2022-05-27 21:24:19 -07:00
2022-05-26 16:57:20 -07:00
2022-05-23 17:51:12 -07:00
2022-03-28 17:29:53 -07:00
2022-05-29 10:31:36 -07:00
2022-05-02 14:06:20 -06:00
2022-05-26 16:57:20 -07:00
2022-05-24 11:11:13 -07:00
2022-05-26 16:57:20 -07:00