Linux Perf
auxtrace_record Struct Reference

#include <auxtrace.h>

Collaboration diagram for auxtrace_record:
Collaboration graph

Public Attributes

int(* recording_options )(struct auxtrace_record *itr, struct perf_evlist *evlist, struct record_opts *opts)
 
size_t(* info_priv_size )(struct auxtrace_record *itr, struct perf_evlist *evlist)
 
int(* info_fill )(struct auxtrace_record *itr, struct perf_session *session, struct auxtrace_info_event *auxtrace_info, size_t priv_size)
 
void(* free )(struct auxtrace_record *itr)
 
int(* snapshot_start )(struct auxtrace_record *itr)
 
int(* snapshot_finish )(struct auxtrace_record *itr)
 
int(* find_snapshot )(struct auxtrace_record *itr, int idx, struct auxtrace_mmap *mm, unsigned char *data, u64 *head, u64 *old)
 
int(* parse_snapshot_options )(struct auxtrace_record *itr, struct record_opts *opts, const char *str)
 
u64(* reference )(struct auxtrace_record *itr)
 
int(* read_finish )(struct auxtrace_record *itr, int idx)
 
unsigned int alignment
 

Detailed Description

struct auxtrace_record - callbacks for recording AUX area data. : validate and process recording options : return the size of the private data in auxtrace_info_event : fill-in the private data in auxtrace_info_event : free this auxtrace record structure : starting a snapshot : finishing a snapshot : find data to snapshot within auxtrace mmap : parse snapshot options : provide a 64-bit reference number for auxtrace_event : called after reading from an auxtrace mmap : alignment (if any) for AUX area data

Definition at line 307 of file auxtrace.h.

Member Data Documentation

◆ alignment

unsigned int auxtrace_record::alignment

Definition at line 328 of file auxtrace.h.

◆ find_snapshot

int(* auxtrace_record::find_snapshot) (struct auxtrace_record *itr, int idx, struct auxtrace_mmap *mm, unsigned char *data, u64 *head, u64 *old)

Definition at line 320 of file auxtrace.h.

◆ free

void(* auxtrace_record::free) (struct auxtrace_record *itr)

Definition at line 317 of file auxtrace.h.

◆ info_fill

int(* auxtrace_record::info_fill) (struct auxtrace_record *itr, struct perf_session *session, struct auxtrace_info_event *auxtrace_info, size_t priv_size)

Definition at line 313 of file auxtrace.h.

◆ info_priv_size

size_t(* auxtrace_record::info_priv_size) (struct auxtrace_record *itr, struct perf_evlist *evlist)

Definition at line 311 of file auxtrace.h.

◆ parse_snapshot_options

int(* auxtrace_record::parse_snapshot_options) (struct auxtrace_record *itr, struct record_opts *opts, const char *str)

Definition at line 323 of file auxtrace.h.

◆ read_finish

int(* auxtrace_record::read_finish) (struct auxtrace_record *itr, int idx)

Definition at line 327 of file auxtrace.h.

◆ recording_options

int(* auxtrace_record::recording_options) (struct auxtrace_record *itr, struct perf_evlist *evlist, struct record_opts *opts)

Definition at line 308 of file auxtrace.h.

◆ reference

u64(* auxtrace_record::reference) (struct auxtrace_record *itr)

Definition at line 326 of file auxtrace.h.

◆ snapshot_finish

int(* auxtrace_record::snapshot_finish) (struct auxtrace_record *itr)

Definition at line 319 of file auxtrace.h.

◆ snapshot_start

int(* auxtrace_record::snapshot_start) (struct auxtrace_record *itr)

Definition at line 318 of file auxtrace.h.


The documentation for this struct was generated from the following file: