mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
16 lines
378 B
C
16 lines
378 B
C
![]() |
// SPDX-License-Identifier: GPL-2.0
|
||
|
#include <errno.h>
|
||
|
#include <bpf/bpf.h>
|
||
|
#include "bpf-event.h"
|
||
|
#include "debug.h"
|
||
|
#include "symbol.h"
|
||
|
|
||
|
int machine__process_bpf_event(struct machine *machine __maybe_unused,
|
||
|
union perf_event *event,
|
||
|
struct perf_sample *sample __maybe_unused)
|
||
|
{
|
||
|
if (dump_trace)
|
||
|
perf_event__fprintf_bpf_event(event, stdout);
|
||
|
return 0;
|
||
|
}
|