evlist.h (64b4778b863b6fa84e36e043fb34bde6b847fa96) | evlist.h (900c8ead5b0b21d73236ffbc4bc2f47a506d8297) |
---|---|
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> --- 178 unchanged lines hidden (view full) --- 187size_t evlist__mmap_size(unsigned long pages); 188 189void evlist__disable(struct evlist *evlist); 190void evlist__enable(struct evlist *evlist); 191void evlist__toggle_enable(struct evlist *evlist); 192 193int evlist__enable_event_idx(struct evlist *evlist, struct evsel *evsel, int idx); 194 | 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> --- 178 unchanged lines hidden (view full) --- 187size_t evlist__mmap_size(unsigned long pages); 188 189void evlist__disable(struct evlist *evlist); 190void evlist__enable(struct evlist *evlist); 191void evlist__toggle_enable(struct evlist *evlist); 192 193int evlist__enable_event_idx(struct evlist *evlist, struct evsel *evsel, int idx); 194 |
195void perf_evlist__set_selected(struct evlist *evlist, 196 struct evsel *evsel); | 195void evlist__set_selected(struct evlist *evlist, struct evsel *evsel); |
197 198int evlist__create_maps(struct evlist *evlist, struct target *target); 199int evlist__apply_filters(struct evlist *evlist, struct evsel **err_evsel); 200 201void __evlist__set_leader(struct list_head *list); 202void evlist__set_leader(struct evlist *evlist); 203 204u64 __evlist__combined_sample_type(struct evlist *evlist); --- 28 unchanged lines hidden (view full) --- 233 struct perf_evsel *evsel = perf_evlist__last(&evlist->core); 234 235 return container_of(evsel, struct evsel, core); 236} 237 238int evlist__strerror_open(struct evlist *evlist, int err, char *buf, size_t size); 239int evlist__strerror_mmap(struct evlist *evlist, int err, char *buf, size_t size); 240 | 196 197int evlist__create_maps(struct evlist *evlist, struct target *target); 198int evlist__apply_filters(struct evlist *evlist, struct evsel **err_evsel); 199 200void __evlist__set_leader(struct list_head *list); 201void evlist__set_leader(struct evlist *evlist); 202 203u64 __evlist__combined_sample_type(struct evlist *evlist); --- 28 unchanged lines hidden (view full) --- 232 struct perf_evsel *evsel = perf_evlist__last(&evlist->core); 233 234 return container_of(evsel, struct evsel, core); 235} 236 237int evlist__strerror_open(struct evlist *evlist, int err, char *buf, size_t size); 238int evlist__strerror_mmap(struct evlist *evlist, int err, char *buf, size_t size); 239 |
241bool perf_evlist__can_select_event(struct evlist *evlist, const char *str); | 240bool evlist__can_select_event(struct evlist *evlist, const char *str); |
242void evlist__to_front(struct evlist *evlist, struct evsel *move_evsel); 243 244/** 245 * __evlist__for_each_entry - iterate thru all the evsels 246 * @list: list_head instance to iterate 247 * @evsel: struct evsel iterator 248 */ 249#define __evlist__for_each_entry(list, evsel) \ --- 109 unchanged lines hidden --- | 241void evlist__to_front(struct evlist *evlist, struct evsel *move_evsel); 242 243/** 244 * __evlist__for_each_entry - iterate thru all the evsels 245 * @list: list_head instance to iterate 246 * @evsel: struct evsel iterator 247 */ 248#define __evlist__for_each_entry(list, evsel) \ --- 109 unchanged lines hidden --- |