mirror_ubuntu-kernels/tools/lib/perf/include/perf
Namhyung Kim 27c6f2455b perf record: Record dropped sample count
When it uses bpf filters, event might drop some samples.  It'd be nice
if it can report how many samples it lost.  As LOST_SAMPLES event can
carry the similar information, let's use it for bpf filters.

To indicate it's from BPF filters, add a new misc flag for that and
do not display cpu load warnings.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Hao Luo <haoluo@google.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: James Clark <james.clark@arm.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: Song Liu <song@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20230314234237.3008956-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2023-03-15 11:08:35 -03:00
..
bpf_perf.h perf util: Move bpf_perf definitions to a libperf header 2021-04-29 10:30:58 -03:00
core.h libperf: Move to tools/lib/perf 2020-01-06 11:46:09 -03:00
cpumap.h libperf: Add missing 'struct perf_cpu_map' forward declaration to perf/cpumap.h 2022-11-16 16:00:49 -03:00
event.h perf record: Record dropped sample count 2023-03-15 11:08:35 -03:00
evlist.h perf evlist: Remove nr_groups 2023-03-13 17:42:27 -03:00
evsel.h libperf: Handle read format in perf_evsel__read() 2022-08-19 15:56:27 -03:00
mmap.h libperf: Move to tools/lib/perf 2020-01-06 11:46:09 -03:00
threadmap.h libperf: Add API for allocating new thread map array 2022-02-23 14:40:23 -03:00