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

Go to the source code of this file.

Classes

struct  ordered_event
 
struct  ordered_events
 

Typedefs

typedef int(* ordered_events__deliver_t) (struct ordered_events *oe, struct ordered_event *event)
 

Enumerations

enum  oe_flush { OE_FLUSH__NONE, OE_FLUSH__FINAL, OE_FLUSH__ROUND, OE_FLUSH__HALF }
 

Functions

int ordered_events__queue (struct ordered_events *oe, union perf_event *event, u64 timestamp, u64 file_offset)
 
void ordered_events__delete (struct ordered_events *oe, struct ordered_event *event)
 
int ordered_events__flush (struct ordered_events *oe, enum oe_flush how)
 
void ordered_events__init (struct ordered_events *oe, ordered_events__deliver_t deliver)
 
void ordered_events__free (struct ordered_events *oe)
 
void ordered_events__reinit (struct ordered_events *oe)
 
static void ordered_events__set_alloc_size (struct ordered_events *oe, u64 size)
 
static void ordered_events__set_copy_on_queue (struct ordered_events *oe, bool copy)
 

Typedef Documentation

◆ ordered_events__deliver_t

typedef int(* ordered_events__deliver_t) (struct ordered_events *oe, struct ordered_event *event)

Definition at line 25 of file ordered-events.h.

Enumeration Type Documentation

◆ oe_flush

enum oe_flush
Enumerator
OE_FLUSH__NONE 
OE_FLUSH__FINAL 
OE_FLUSH__ROUND 
OE_FLUSH__HALF 

Definition at line 16 of file ordered-events.h.

Function Documentation

◆ ordered_events__delete()

void ordered_events__delete ( struct ordered_events oe,
struct ordered_event event 
)

Definition at line 151 of file ordered-events.c.

Here is the call graph for this function:

◆ ordered_events__flush()

int ordered_events__flush ( struct ordered_events oe,
enum oe_flush  how 
)

Definition at line 232 of file ordered-events.c.

Here is the call graph for this function:

◆ ordered_events__free()

void ordered_events__free ( struct ordered_events oe)

Definition at line 303 of file ordered-events.c.

Here is the call graph for this function:

◆ ordered_events__init()

void ordered_events__init ( struct ordered_events oe,
ordered_events__deliver_t  deliver 
)

Definition at line 293 of file ordered-events.c.

◆ ordered_events__queue()

int ordered_events__queue ( struct ordered_events oe,
union perf_event event,
u64  timestamp,
u64  file_offset 
)

Definition at line 159 of file ordered-events.c.

Here is the call graph for this function:

◆ ordered_events__reinit()

void ordered_events__reinit ( struct ordered_events oe)

Definition at line 315 of file ordered-events.c.

Here is the call graph for this function:

◆ ordered_events__set_alloc_size()

static void ordered_events__set_alloc_size ( struct ordered_events oe,
u64  size 
)
inlinestatic

Definition at line 56 of file ordered-events.h.

◆ ordered_events__set_copy_on_queue()

static void ordered_events__set_copy_on_queue ( struct ordered_events oe,
bool  copy 
)
inlinestatic

Definition at line 62 of file ordered-events.h.