perf_event_map
static const struct perf_event_map *sparc_map_cache_event(u64 config)
const struct perf_event_map *pmap;
static unsigned long perf_event_encode(const struct perf_event_map *pmap)
const struct perf_event_map *pmap;
typedef struct perf_event_map cache_map_t
const struct perf_event_map *(*event_map)(int);
static const struct perf_event_map ultra3_perfmon_event_map[] = {
static const struct perf_event_map *ultra3_event_map(int event_id)
static const struct perf_event_map niagara1_perfmon_event_map[] = {
static const struct perf_event_map *niagara1_event_map(int event_id)
static const struct perf_event_map niagara2_perfmon_event_map[] = {
static const struct perf_event_map *niagara2_event_map(int event_id)
static const struct perf_event_map niagara4_perfmon_event_map[] = {
static const struct perf_event_map *niagara4_event_map(int event_id)
} perf_event_map SEC(".maps");
bpf_perf_event_output(skops, &perf_event_map,