Linux Perf
evlist.h File Reference
#include <linux/compiler.h>
#include <linux/kernel.h>
#include <linux/refcount.h>
#include <linux/list.h>
#include <api/fd/array.h>
#include <stdio.h>
#include "../perf.h"
#include "event.h"
#include "evsel.h"
#include "mmap.h"
#include "util.h"
#include <signal.h>
#include <unistd.h>
Include dependency graph for evlist.h:

Go to the source code of this file.

Classes

struct  perf_evlist
 
struct  perf_evsel_str_handler
 

Macros

#define PERF_EVLIST__HLIST_BITS   8
 
#define PERF_EVLIST__HLIST_SIZE   (1 << PERF_EVLIST__HLIST_BITS)
 
#define perf_evlist__add_default_attrs(evlist, array)   __perf_evlist__add_default_attrs(evlist, array, ARRAY_SIZE(array))
 
#define perf_evlist__set_sample_bit(evlist, bit)   __perf_evlist__set_sample_bit(evlist, PERF_SAMPLE_##bit)
 
#define perf_evlist__reset_sample_bit(evlist, bit)   __perf_evlist__reset_sample_bit(evlist, PERF_SAMPLE_##bit)
 
#define __evlist__for_each_entry(list, evsel)   list_for_each_entry(evsel, list, node)
 
#define evlist__for_each_entry(evlist, evsel)   __evlist__for_each_entry(&(evlist)->entries, evsel)
 
#define __evlist__for_each_entry_continue(list, evsel)   list_for_each_entry_continue(evsel, list, node)
 
#define evlist__for_each_entry_continue(evlist, evsel)   __evlist__for_each_entry_continue(&(evlist)->entries, evsel)
 
#define __evlist__for_each_entry_reverse(list, evsel)   list_for_each_entry_reverse(evsel, list, node)
 
#define evlist__for_each_entry_reverse(evlist, evsel)   __evlist__for_each_entry_reverse(&(evlist)->entries, evsel)
 
#define __evlist__for_each_entry_safe(list, tmp, evsel)   list_for_each_entry_safe(evsel, tmp, list, node)
 
#define evlist__for_each_entry_safe(evlist, tmp, evsel)   __evlist__for_each_entry_safe(&(evlist)->entries, tmp, evsel)
 

Functions

struct perf_evlistperf_evlist__new (void)
 
struct perf_evlistperf_evlist__new_default (void)
 
struct perf_evlistperf_evlist__new_dummy (void)
 
void perf_evlist__init (struct perf_evlist *evlist, struct cpu_map *cpus, struct thread_map *threads)
 
void perf_evlist__exit (struct perf_evlist *evlist)
 
void perf_evlist__delete (struct perf_evlist *evlist)
 
void perf_evlist__add (struct perf_evlist *evlist, struct perf_evsel *entry)
 
void perf_evlist__remove (struct perf_evlist *evlist, struct perf_evsel *evsel)
 
int __perf_evlist__add_default (struct perf_evlist *evlist, bool precise)
 
static int perf_evlist__add_default (struct perf_evlist *evlist)
 
int __perf_evlist__add_default_attrs (struct perf_evlist *evlist, struct perf_event_attr *attrs, size_t nr_attrs)
 
int perf_evlist__add_dummy (struct perf_evlist *evlist)
 
int perf_evlist__add_newtp (struct perf_evlist *evlist, const char *sys, const char *name, void *handler)
 
void __perf_evlist__set_sample_bit (struct perf_evlist *evlist, enum perf_event_sample_format bit)
 
void __perf_evlist__reset_sample_bit (struct perf_evlist *evlist, enum perf_event_sample_format bit)
 
int perf_evlist__set_filter (struct perf_evlist *evlist, const char *filter)
 
int perf_evlist__set_filter_pid (struct perf_evlist *evlist, pid_t pid)
 
int perf_evlist__set_filter_pids (struct perf_evlist *evlist, size_t npids, pid_t *pids)
 
struct perf_evselperf_evlist__find_tracepoint_by_id (struct perf_evlist *evlist, int id)
 
struct perf_evselperf_evlist__find_tracepoint_by_name (struct perf_evlist *evlist, const char *name)
 
void perf_evlist__id_add (struct perf_evlist *evlist, struct perf_evsel *evsel, int cpu, int thread, u64 id)
 
int perf_evlist__id_add_fd (struct perf_evlist *evlist, struct perf_evsel *evsel, int cpu, int thread, int fd)
 
int perf_evlist__add_pollfd (struct perf_evlist *evlist, int fd)
 
int perf_evlist__alloc_pollfd (struct perf_evlist *evlist)
 
int perf_evlist__filter_pollfd (struct perf_evlist *evlist, short revents_and_mask)
 
int perf_evlist__poll (struct perf_evlist *evlist, int timeout)
 
struct perf_evselperf_evlist__id2evsel (struct perf_evlist *evlist, u64 id)
 
struct perf_evselperf_evlist__id2evsel_strict (struct perf_evlist *evlist, u64 id)
 
struct perf_sample_idperf_evlist__id2sid (struct perf_evlist *evlist, u64 id)
 
void perf_evlist__toggle_bkw_mmap (struct perf_evlist *evlist, enum bkw_mmap_state state)
 
void perf_evlist__mmap_consume (struct perf_evlist *evlist, int idx)
 
int perf_evlist__open (struct perf_evlist *evlist)
 
void perf_evlist__close (struct perf_evlist *evlist)
 
void perf_evlist__set_id_pos (struct perf_evlist *evlist)
 
bool perf_can_sample_identifier (void)
 
bool perf_can_record_switch_events (void)
 
bool perf_can_record_cpu_wide (void)
 
void perf_evlist__config (struct perf_evlist *evlist, struct record_opts *opts, struct callchain_param *callchain)
 
int record_opts__config (struct record_opts *opts)
 
int perf_evlist__prepare_workload (struct perf_evlist *evlist, struct target *target, const char *argv[], bool pipe_output, void(*exec_error)(int signo, siginfo_t *info, void *ucontext))
 
int perf_evlist__start_workload (struct perf_evlist *evlist)
 
int __perf_evlist__parse_mmap_pages (unsigned int *mmap_pages, const char *str)
 
int perf_evlist__parse_mmap_pages (const struct option *opt, const char *str, int unset)
 
unsigned long perf_event_mlock_kb_in_pages (void)
 
int perf_evlist__mmap_ex (struct perf_evlist *evlist, unsigned int pages, unsigned int auxtrace_pages, bool auxtrace_overwrite)
 
int perf_evlist__mmap (struct perf_evlist *evlist, unsigned int pages)
 
void perf_evlist__munmap (struct perf_evlist *evlist)
 
size_t perf_evlist__mmap_size (unsigned long pages)
 
void perf_evlist__disable (struct perf_evlist *evlist)
 
void perf_evlist__enable (struct perf_evlist *evlist)
 
void perf_evlist__toggle_enable (struct perf_evlist *evlist)
 
int perf_evlist__enable_event_idx (struct perf_evlist *evlist, struct perf_evsel *evsel, int idx)
 
void perf_evlist__set_selected (struct perf_evlist *evlist, struct perf_evsel *evsel)
 
void perf_evlist__set_maps (struct perf_evlist *evlist, struct cpu_map *cpus, struct thread_map *threads)
 
int perf_evlist__create_maps (struct perf_evlist *evlist, struct target *target)
 
int perf_evlist__apply_filters (struct perf_evlist *evlist, struct perf_evsel **err_evsel)
 
void __perf_evlist__set_leader (struct list_head *list)
 
void perf_evlist__set_leader (struct perf_evlist *evlist)
 
u64 perf_evlist__read_format (struct perf_evlist *evlist)
 
u64 __perf_evlist__combined_sample_type (struct perf_evlist *evlist)
 
u64 perf_evlist__combined_sample_type (struct perf_evlist *evlist)
 
u64 perf_evlist__combined_branch_type (struct perf_evlist *evlist)
 
bool perf_evlist__sample_id_all (struct perf_evlist *evlist)
 
u16 perf_evlist__id_hdr_size (struct perf_evlist *evlist)
 
int perf_evlist__parse_sample (struct perf_evlist *evlist, union perf_event *event, struct perf_sample *sample)
 
int perf_evlist__parse_sample_timestamp (struct perf_evlist *evlist, union perf_event *event, u64 *timestamp)
 
bool perf_evlist__valid_sample_type (struct perf_evlist *evlist)
 
bool perf_evlist__valid_sample_id_all (struct perf_evlist *evlist)
 
bool perf_evlist__valid_read_format (struct perf_evlist *evlist)
 
void perf_evlist__splice_list_tail (struct perf_evlist *evlist, struct list_head *list)
 
static bool perf_evlist__empty (struct perf_evlist *evlist)
 
static struct perf_evselperf_evlist__first (struct perf_evlist *evlist)
 
static struct perf_evselperf_evlist__last (struct perf_evlist *evlist)
 
size_t perf_evlist__fprintf (struct perf_evlist *evlist, FILE *fp)
 
int perf_evlist__strerror_open (struct perf_evlist *evlist, int err, char *buf, size_t size)
 
int perf_evlist__strerror_mmap (struct perf_evlist *evlist, int err, char *buf, size_t size)
 
bool perf_evlist__can_select_event (struct perf_evlist *evlist, const char *str)
 
void perf_evlist__to_front (struct perf_evlist *evlist, struct perf_evsel *move_evsel)
 
void perf_evlist__set_tracking_event (struct perf_evlist *evlist, struct perf_evsel *tracking_evsel)
 
void perf_event_attr__set_max_precise_ip (struct perf_event_attr *attr)
 
struct perf_evselperf_evlist__find_evsel_by_str (struct perf_evlist *evlist, const char *str)
 
struct perf_evselperf_evlist__event2evsel (struct perf_evlist *evlist, union perf_event *event)
 
bool perf_evlist__exclude_kernel (struct perf_evlist *evlist)
 
void perf_evlist__force_leader (struct perf_evlist *evlist)
 

Macro Definition Documentation

◆ __evlist__for_each_entry

#define __evlist__for_each_entry (   list,
  evsel 
)    list_for_each_entry(evsel, list, node)

__evlist__for_each_entry - iterate thru all the evsels : list_head instance to iterate : struct evsel iterator

Definition at line 239 of file evlist.h.

◆ __evlist__for_each_entry_continue

#define __evlist__for_each_entry_continue (   list,
  evsel 
)    list_for_each_entry_continue(evsel, list, node)

__evlist__for_each_entry_continue - continue iteration thru all the evsels : list_head instance to iterate : struct evsel iterator

Definition at line 255 of file evlist.h.

◆ __evlist__for_each_entry_reverse

#define __evlist__for_each_entry_reverse (   list,
  evsel 
)    list_for_each_entry_reverse(evsel, list, node)

__evlist__for_each_entry_reverse - iterate thru all the evsels in reverse order : list_head instance to iterate : struct evsel iterator

Definition at line 271 of file evlist.h.

◆ __evlist__for_each_entry_safe

#define __evlist__for_each_entry_safe (   list,
  tmp,
  evsel 
)    list_for_each_entry_safe(evsel, tmp, list, node)

__evlist__for_each_entry_safe - safely iterate thru all the evsels : list_head instance to iterate : struct evsel temp iterator : struct evsel iterator

Definition at line 288 of file evlist.h.

◆ evlist__for_each_entry

#define evlist__for_each_entry (   evlist,
  evsel 
)    __evlist__for_each_entry(&(evlist)->entries, evsel)

evlist__for_each_entry - iterate thru all the evsels : evlist instance to iterate : struct evsel iterator

Definition at line 247 of file evlist.h.

◆ evlist__for_each_entry_continue

#define evlist__for_each_entry_continue (   evlist,
  evsel 
)    __evlist__for_each_entry_continue(&(evlist)->entries, evsel)

evlist__for_each_entry_continue - continue iteration thru all the evsels : evlist instance to iterate : struct evsel iterator

Definition at line 263 of file evlist.h.

◆ evlist__for_each_entry_reverse

#define evlist__for_each_entry_reverse (   evlist,
  evsel 
)    __evlist__for_each_entry_reverse(&(evlist)->entries, evsel)

evlist__for_each_entry_reverse - iterate thru all the evsels in reverse order : evlist instance to iterate : struct evsel iterator

Definition at line 279 of file evlist.h.

◆ evlist__for_each_entry_safe

#define evlist__for_each_entry_safe (   evlist,
  tmp,
  evsel 
)    __evlist__for_each_entry_safe(&(evlist)->entries, tmp, evsel)

evlist__for_each_entry_safe - safely iterate thru all the evsels : evlist instance to iterate : struct evsel iterator : struct evsel temp iterator

Definition at line 297 of file evlist.h.

◆ perf_evlist__add_default_attrs

#define perf_evlist__add_default_attrs (   evlist,
  array 
)    __perf_evlist__add_default_attrs(evlist, array, ARRAY_SIZE(array))

Definition at line 82 of file evlist.h.

◆ PERF_EVLIST__HLIST_BITS

#define PERF_EVLIST__HLIST_BITS   8

Definition at line 24 of file evlist.h.

◆ PERF_EVLIST__HLIST_SIZE

#define PERF_EVLIST__HLIST_SIZE   (1 << PERF_EVLIST__HLIST_BITS)

Definition at line 25 of file evlist.h.

◆ perf_evlist__reset_sample_bit

#define perf_evlist__reset_sample_bit (   evlist,
  bit 
)    __perf_evlist__reset_sample_bit(evlist, PERF_SAMPLE_##bit)

Definition at line 98 of file evlist.h.

◆ perf_evlist__set_sample_bit

#define perf_evlist__set_sample_bit (   evlist,
  bit 
)    __perf_evlist__set_sample_bit(evlist, PERF_SAMPLE_##bit)

Definition at line 95 of file evlist.h.

Function Documentation

◆ __perf_evlist__add_default()

int __perf_evlist__add_default ( struct perf_evlist evlist,
bool  precise 
)

Definition at line 243 of file evlist.c.

Here is the call graph for this function:

◆ __perf_evlist__add_default_attrs()

int __perf_evlist__add_default_attrs ( struct perf_evlist evlist,
struct perf_event_attr *  attrs,
size_t  nr_attrs 
)

Definition at line 294 of file evlist.c.

Here is the call graph for this function:

◆ __perf_evlist__combined_sample_type()

u64 __perf_evlist__combined_sample_type ( struct perf_evlist evlist)

Definition at line 1247 of file evlist.c.

◆ __perf_evlist__parse_mmap_pages()

int __perf_evlist__parse_mmap_pages ( unsigned int *  mmap_pages,
const char *  str 
)

Definition at line 978 of file evlist.c.

Here is the call graph for this function:

◆ __perf_evlist__reset_sample_bit()

void __perf_evlist__reset_sample_bit ( struct perf_evlist evlist,
enum perf_event_sample_format  bit 
)

Definition at line 1147 of file evlist.c.

Here is the call graph for this function:

◆ __perf_evlist__set_leader()

void __perf_evlist__set_leader ( struct list_head *  list)

Definition at line 207 of file evlist.c.

◆ __perf_evlist__set_sample_bit()

void __perf_evlist__set_sample_bit ( struct perf_evlist evlist,
enum perf_event_sample_format  bit 
)

Definition at line 1138 of file evlist.c.

Here is the call graph for this function:

◆ perf_can_record_cpu_wide()

bool perf_can_record_cpu_wide ( void  )

Definition at line 111 of file record.c.

Here is the call graph for this function:

◆ perf_can_record_switch_events()

bool perf_can_record_switch_events ( void  )

Definition at line 106 of file record.c.

Here is the call graph for this function:

◆ perf_can_sample_identifier()

bool perf_can_sample_identifier ( void  )

Definition at line 96 of file record.c.

Here is the call graph for this function:

◆ perf_event_attr__set_max_precise_ip()

void perf_event_attr__set_max_precise_ip ( struct perf_event_attr *  attr)

Definition at line 229 of file evlist.c.

Here is the call graph for this function:

◆ perf_event_mlock_kb_in_pages()

unsigned long perf_event_mlock_kb_in_pages ( void  )

Definition at line 897 of file evlist.c.

◆ perf_evlist__add()

void perf_evlist__add ( struct perf_evlist evlist,
struct perf_evsel entry 
)

Definition at line 176 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__add_default()

static int perf_evlist__add_default ( struct perf_evlist evlist)
inlinestatic

Definition at line 74 of file evlist.h.

Here is the call graph for this function:

◆ perf_evlist__add_dummy()

int perf_evlist__add_dummy ( struct perf_evlist evlist)

Definition at line 254 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__add_newtp()

int perf_evlist__add_newtp ( struct perf_evlist evlist,
const char *  sys,
const char *  name,
void *  handler 
)

Definition at line 334 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__add_pollfd()

int perf_evlist__add_pollfd ( struct perf_evlist evlist,
int  fd 
)

Definition at line 471 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__alloc_pollfd()

int perf_evlist__alloc_pollfd ( struct perf_evlist evlist)

Definition at line 433 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__apply_filters()

int perf_evlist__apply_filters ( struct perf_evlist evlist,
struct perf_evsel **  err_evsel 
)

Definition at line 1156 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__can_select_event()

bool perf_evlist__can_select_event ( struct perf_evlist evlist,
const char *  str 
)

Definition at line 259 of file record.c.

Here is the call graph for this function:

◆ perf_evlist__close()

void perf_evlist__close ( struct perf_evlist evlist)

Definition at line 1359 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__combined_branch_type()

u64 perf_evlist__combined_branch_type ( struct perf_evlist evlist)

Definition at line 1266 of file evlist.c.

◆ perf_evlist__combined_sample_type()

u64 perf_evlist__combined_sample_type ( struct perf_evlist evlist)

Definition at line 1260 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__config()

void perf_evlist__config ( struct perf_evlist evlist,
struct record_opts opts,
struct callchain_param callchain 
)

Definition at line 135 of file record.c.

Here is the call graph for this function:

◆ perf_evlist__create_maps()

int perf_evlist__create_maps ( struct perf_evlist evlist,
struct target target 
)

Definition at line 1066 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__delete()

void perf_evlist__delete ( struct perf_evlist evlist)

Definition at line 133 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__disable()

void perf_evlist__disable ( struct perf_evlist evlist)

Definition at line 356 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__empty()

static bool perf_evlist__empty ( struct perf_evlist evlist)
inlinestatic

Definition at line 210 of file evlist.h.

◆ perf_evlist__enable()

void perf_evlist__enable ( struct perf_evlist evlist)

Definition at line 369 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__enable_event_idx()

int perf_evlist__enable_event_idx ( struct perf_evlist evlist,
struct perf_evsel evsel,
int  idx 
)

Definition at line 422 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__event2evsel()

struct perf_evsel* perf_evlist__event2evsel ( struct perf_evlist evlist,
union perf_event event 
)

Definition at line 642 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__exclude_kernel()

bool perf_evlist__exclude_kernel ( struct perf_evlist evlist)

Definition at line 1787 of file evlist.c.

◆ perf_evlist__exit()

void perf_evlist__exit ( struct perf_evlist evlist)

Definition at line 126 of file evlist.c.

◆ perf_evlist__filter_pollfd()

int perf_evlist__filter_pollfd ( struct perf_evlist evlist,
short  revents_and_mask 
)

Definition at line 485 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__find_evsel_by_str()

struct perf_evsel* perf_evlist__find_evsel_by_str ( struct perf_evlist evlist,
const char *  str 
)

Definition at line 1714 of file evlist.c.

◆ perf_evlist__find_tracepoint_by_id()

struct perf_evsel* perf_evlist__find_tracepoint_by_id ( struct perf_evlist evlist,
int  id 
)

Definition at line 306 of file evlist.c.

◆ perf_evlist__find_tracepoint_by_name()

struct perf_evsel* perf_evlist__find_tracepoint_by_name ( struct perf_evlist evlist,
const char *  name 
)

Definition at line 320 of file evlist.c.

◆ perf_evlist__first()

static struct perf_evsel* perf_evlist__first ( struct perf_evlist evlist)
static

Definition at line 215 of file evlist.h.

◆ perf_evlist__force_leader()

void perf_evlist__force_leader ( struct perf_evlist evlist)

Definition at line 1804 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__fprintf()

size_t perf_evlist__fprintf ( struct perf_evlist evlist,
FILE *  fp 
)

Definition at line 1582 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__id2evsel()

struct perf_evsel* perf_evlist__id2evsel ( struct perf_evlist evlist,
u64  id 
)

Definition at line 589 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__id2evsel_strict()

struct perf_evsel* perf_evlist__id2evsel_strict ( struct perf_evlist evlist,
u64  id 
)

Definition at line 606 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__id2sid()

struct perf_sample_id* perf_evlist__id2sid ( struct perf_evlist evlist,
u64  id 
)

Definition at line 573 of file evlist.c.

◆ perf_evlist__id_add()

void perf_evlist__id_add ( struct perf_evlist evlist,
struct perf_evsel evsel,
int  cpu,
int  thread,
u64  id 
)

Definition at line 509 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__id_add_fd()

int perf_evlist__id_add_fd ( struct perf_evlist evlist,
struct perf_evsel evsel,
int  cpu,
int  thread,
int  fd 
)

Definition at line 516 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__id_hdr_size()

u16 perf_evlist__id_hdr_size ( struct perf_evlist evlist)

Definition at line 1302 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__init()

void perf_evlist__init ( struct perf_evlist evlist,
struct cpu_map cpus,
struct thread_map threads 
)

Definition at line 40 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__last()

static struct perf_evsel* perf_evlist__last ( struct perf_evlist evlist)
static

Definition at line 220 of file evlist.h.

Here is the call graph for this function:

◆ perf_evlist__mmap()

int perf_evlist__mmap ( struct perf_evlist evlist,
unsigned int  pages 
)

Definition at line 1061 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__mmap_consume()

void perf_evlist__mmap_consume ( struct perf_evlist evlist,
int  idx 
)

◆ perf_evlist__mmap_ex()

int perf_evlist__mmap_ex ( struct perf_evlist evlist,
unsigned int  pages,
unsigned int  auxtrace_pages,
bool  auxtrace_overwrite 
)

perf_evlist__mmap_ex - Create mmaps to receive events. : list of events : map length in pages : overwrite older events? - auxtrace map length in pages - overwrite older auxtrace data?

If is false the user needs to signal event consumption using perf_mmap__write_tail(). Using perf_evlist__mmap_read() does this automatically.

Similarly, if is false the user needs to signal data consumption using auxtrace_mmap__write_tail().

Return: %0 on success, negative error code otherwise.

Definition at line 1019 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__mmap_size()

size_t perf_evlist__mmap_size ( unsigned long  pages)

Definition at line 920 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__munmap()

void perf_evlist__munmap ( struct perf_evlist evlist)

Definition at line 718 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__new()

struct perf_evlist* perf_evlist__new ( void  )

Definition at line 54 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__new_default()

struct perf_evlist* perf_evlist__new_default ( void  )

Definition at line 64 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__new_dummy()

struct perf_evlist* perf_evlist__new_dummy ( void  )

Definition at line 76 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__open()

int perf_evlist__open ( struct perf_evlist evlist)

Definition at line 1398 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__parse_mmap_pages()

int perf_evlist__parse_mmap_pages ( const struct option *  opt,
const char *  str,
int  unset 
)

Definition at line 996 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__parse_sample()

int perf_evlist__parse_sample ( struct perf_evlist evlist,
union perf_event event,
struct perf_sample sample 
)

Definition at line 1561 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__parse_sample_timestamp()

int perf_evlist__parse_sample_timestamp ( struct perf_evlist evlist,
union perf_event event,
u64 *  timestamp 
)

Definition at line 1571 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__poll()

int perf_evlist__poll ( struct perf_evlist evlist,
int  timeout 
)

Definition at line 491 of file evlist.c.

◆ perf_evlist__prepare_workload()

int perf_evlist__prepare_workload ( struct perf_evlist evlist,
struct target target,
const char *  argv[],
bool  pipe_output,
void(*)(int signo, siginfo_t *info, void *ucontext)  exec_error 
)

Definition at line 1428 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__read_format()

u64 perf_evlist__read_format ( struct perf_evlist evlist)

Definition at line 1296 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__remove()

void perf_evlist__remove ( struct perf_evlist evlist,
struct perf_evsel evsel 
)

Definition at line 189 of file evlist.c.

◆ perf_evlist__sample_id_all()

bool perf_evlist__sample_id_all ( struct perf_evlist evlist)

Definition at line 1347 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__set_filter()

int perf_evlist__set_filter ( struct perf_evlist evlist,
const char *  filter 
)

Definition at line 1179 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__set_filter_pid()

int perf_evlist__set_filter_pid ( struct perf_evlist evlist,
pid_t  pid 
)

Definition at line 1223 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__set_filter_pids()

int perf_evlist__set_filter_pids ( struct perf_evlist evlist,
size_t  npids,
pid_t *  pids 
)

Definition at line 1196 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__set_id_pos()

void perf_evlist__set_id_pos ( struct perf_evlist evlist)

perf_evlist__set_id_pos - set the positions of event ids. : selected event list

Events with compatible sample types all have the same id_pos and is_pos. For convenience, put a copy on evlist.

Definition at line 95 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__set_leader()

void perf_evlist__set_leader ( struct perf_evlist evlist)

Definition at line 221 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__set_maps()

void perf_evlist__set_maps ( struct perf_evlist evlist,
struct cpu_map cpus,
struct thread_map threads 
)

Definition at line 1115 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__set_selected()

void perf_evlist__set_selected ( struct perf_evlist evlist,
struct perf_evsel evsel 
)

Definition at line 1353 of file evlist.c.

◆ perf_evlist__set_tracking_event()

void perf_evlist__set_tracking_event ( struct perf_evlist evlist,
struct perf_evsel tracking_evsel 
)

Definition at line 1697 of file evlist.c.

◆ perf_evlist__splice_list_tail()

void perf_evlist__splice_list_tail ( struct perf_evlist evlist,
struct list_head *  list 
)

Definition at line 196 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__start_workload()

int perf_evlist__start_workload ( struct perf_evlist evlist)

Definition at line 1542 of file evlist.c.

◆ perf_evlist__strerror_mmap()

int perf_evlist__strerror_mmap ( struct perf_evlist evlist,
int  err,
char *  buf,
size_t  size 
)

Definition at line 1649 of file evlist.c.

◆ perf_evlist__strerror_open()

int perf_evlist__strerror_open ( struct perf_evlist evlist,
int  err,
char *  buf,
size_t  size 
)

Definition at line 1595 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__to_front()

void perf_evlist__to_front ( struct perf_evlist evlist,
struct perf_evsel move_evsel 
)

Definition at line 1680 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__toggle_bkw_mmap()

void perf_evlist__toggle_bkw_mmap ( struct perf_evlist evlist,
enum bkw_mmap_state  state 
)

Definition at line 1729 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__toggle_enable()

void perf_evlist__toggle_enable ( struct perf_evlist evlist)

Definition at line 382 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__valid_read_format()

bool perf_evlist__valid_read_format ( struct perf_evlist evlist)

Definition at line 1276 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__valid_sample_id_all()

bool perf_evlist__valid_sample_id_all ( struct perf_evlist evlist)

Definition at line 1335 of file evlist.c.

Here is the call graph for this function:

◆ perf_evlist__valid_sample_type()

bool perf_evlist__valid_sample_type ( struct perf_evlist evlist)

Definition at line 1228 of file evlist.c.

◆ record_opts__config()

int record_opts__config ( struct record_opts opts)

Definition at line 254 of file record.c.

Here is the call graph for this function: