evsel.h (9a10bb22897ae9c2aa0ac9c2071f539f406ef942) evsel.h (24e376b24582648d363df4e0a6bcc2ffcecd211e)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __PERF_EVSEL_H
3#define __PERF_EVSEL_H 1
4
5#include <linux/list.h>
6#include <stdbool.h>
7#include <stddef.h>
8#include <linux/perf_event.h>

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

289
290void perf_evsel__set_sample_id(struct evsel *evsel,
291 bool use_sample_identifier);
292
293int perf_evsel__set_filter(struct evsel *evsel, const char *filter);
294int perf_evsel__append_tp_filter(struct evsel *evsel, const char *filter);
295int perf_evsel__append_addr_filter(struct evsel *evsel,
296 const char *filter);
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __PERF_EVSEL_H
3#define __PERF_EVSEL_H 1
4
5#include <linux/list.h>
6#include <stdbool.h>
7#include <stddef.h>
8#include <linux/perf_event.h>

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

289
290void perf_evsel__set_sample_id(struct evsel *evsel,
291 bool use_sample_identifier);
292
293int perf_evsel__set_filter(struct evsel *evsel, const char *filter);
294int perf_evsel__append_tp_filter(struct evsel *evsel, const char *filter);
295int perf_evsel__append_addr_filter(struct evsel *evsel,
296 const char *filter);
297int perf_evsel__apply_filter(struct evsel *evsel, const char *filter);
297int evsel__apply_filter(struct evsel *evsel, const char *filter);
298int evsel__enable(struct evsel *evsel);
299int evsel__disable(struct evsel *evsel);
300
301int perf_evsel__open_per_cpu(struct evsel *evsel,
302 struct perf_cpu_map *cpus);
303int perf_evsel__open_per_thread(struct evsel *evsel,
304 struct perf_thread_map *threads);
305int evsel__open(struct evsel *evsel, struct perf_cpu_map *cpus,

--- 204 unchanged lines hidden ---
298int evsel__enable(struct evsel *evsel);
299int evsel__disable(struct evsel *evsel);
300
301int perf_evsel__open_per_cpu(struct evsel *evsel,
302 struct perf_cpu_map *cpus);
303int perf_evsel__open_per_thread(struct evsel *evsel,
304 struct perf_thread_map *threads);
305int evsel__open(struct evsel *evsel, struct perf_cpu_map *cpus,

--- 204 unchanged lines hidden ---