evlist.h (ce9036a6e3bdfac6c7ccf8221aec9bcf9c2d355e) evlist.h (6484d2f9dc3ecbf13f07100f7f771d1d779eda04)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __PERF_EVLIST_H
3#define __PERF_EVLIST_H 1
4
5#include <linux/compiler.h>
6#include <linux/kernel.h>
7#include <linux/refcount.h>
8#include <linux/list.h>

--- 14 unchanged lines hidden (view full) ---

23struct record_opts;
24
25#define PERF_EVLIST__HLIST_BITS 8
26#define PERF_EVLIST__HLIST_SIZE (1 << PERF_EVLIST__HLIST_BITS)
27
28struct evlist {
29 struct perf_evlist core;
30 struct hlist_head heads[PERF_EVLIST__HLIST_SIZE];
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __PERF_EVLIST_H
3#define __PERF_EVLIST_H 1
4
5#include <linux/compiler.h>
6#include <linux/kernel.h>
7#include <linux/refcount.h>
8#include <linux/list.h>

--- 14 unchanged lines hidden (view full) ---

23struct record_opts;
24
25#define PERF_EVLIST__HLIST_BITS 8
26#define PERF_EVLIST__HLIST_SIZE (1 << PERF_EVLIST__HLIST_BITS)
27
28struct evlist {
29 struct perf_evlist core;
30 struct hlist_head heads[PERF_EVLIST__HLIST_SIZE];
31 int nr_entries;
32 int nr_groups;
33 int nr_mmaps;
34 bool enabled;
35 bool has_user_cpus;
36 size_t mmap_len;
37 int id_pos;
38 int is_pos;
39 u64 combined_sample_type;

--- 293 unchanged lines hidden ---
31 int nr_groups;
32 int nr_mmaps;
33 bool enabled;
34 bool has_user_cpus;
35 size_t mmap_len;
36 int id_pos;
37 int is_pos;
38 u64 combined_sample_type;

--- 293 unchanged lines hidden ---