linux/tools/perf/util/bpf_skel/bperf.h
<<
>>
Prefs
   1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
   2// Copyright (c) 2021 Facebook
   3
   4#ifndef __BPERF_STAT_H
   5#define __BPERF_STAT_H
   6
   7typedef struct {
   8        __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
   9        __uint(key_size, sizeof(__u32));
  10        __uint(value_size, sizeof(struct bpf_perf_event_value));
  11        __uint(max_entries, 1);
  12} reading_map;
  13
  14#endif /* __BPERF_STAT_H */
  15