Linux Perf
tool.h File Reference
#include <stdbool.h>
#include <linux/types.h>
Include dependency graph for tool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  perf_tool
 

Typedefs

typedef int(* event_sample) (struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine)
 
typedef int(* event_op) (struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine)
 
typedef int(* event_attr_op) (struct perf_tool *tool, union perf_event *event, struct perf_evlist **pevlist)
 
typedef int(* event_op2) (struct perf_tool *tool, union perf_event *event, struct perf_session *session)
 
typedef int(* event_oe) (struct perf_tool *tool, union perf_event *event, struct ordered_events *oe)
 
typedef s64(* event_op3) (struct perf_tool *tool, union perf_event *event, struct perf_session *session)
 

Enumerations

enum  show_feature_header { SHOW_FEAT_NO_HEADER = 0, SHOW_FEAT_HEADER, SHOW_FEAT_HEADER_FULL_INFO }
 

Typedef Documentation

◆ event_attr_op

typedef int(* event_attr_op) (struct perf_tool *tool, union perf_event *event, struct perf_evlist **pevlist)

Definition at line 25 of file tool.h.

◆ event_oe

typedef int(* event_oe) (struct perf_tool *tool, union perf_event *event, struct ordered_events *oe)

Definition at line 32 of file tool.h.

◆ event_op

typedef int(* event_op) (struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine)

Definition at line 22 of file tool.h.

◆ event_op2

typedef int(* event_op2) (struct perf_tool *tool, union perf_event *event, struct perf_session *session)

Definition at line 29 of file tool.h.

◆ event_op3

typedef s64(* event_op3) (struct perf_tool *tool, union perf_event *event, struct perf_session *session)

Definition at line 35 of file tool.h.

◆ event_sample

typedef int(* event_sample) (struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine)

Definition at line 18 of file tool.h.

Enumeration Type Documentation

◆ show_feature_header

Enumerator
SHOW_FEAT_NO_HEADER 
SHOW_FEAT_HEADER 
SHOW_FEAT_HEADER_FULL_INFO 

Definition at line 38 of file tool.h.