Linux Perf
evsel_fprintf.c File Reference
#include <inttypes.h>
#include <stdio.h>
#include <stdbool.h>
#include <traceevent/event-parse.h>
#include "evsel.h"
#include "callchain.h"
#include "map.h"
#include "strlist.h"
#include "symbol.h"
#include "srcline.h"
Include dependency graph for evsel_fprintf.c:

Go to the source code of this file.

Functions

static int comma_fprintf (FILE *fp, bool *first, const char *fmt,...)
 
static int __print_attr__fprintf (FILE *fp, const char *name, const char *val, void *priv)
 
int perf_evsel__fprintf (struct perf_evsel *evsel, struct perf_attr_details *details, FILE *fp)
 
int sample__fprintf_callchain (struct perf_sample *sample, int left_alignment, unsigned int print_opts, struct callchain_cursor *cursor, FILE *fp)
 
int sample__fprintf_sym (struct perf_sample *sample, struct addr_location *al, int left_alignment, unsigned int print_opts, struct callchain_cursor *cursor, FILE *fp)
 

Function Documentation

◆ __print_attr__fprintf()

static int __print_attr__fprintf ( FILE *  fp,
const char *  name,
const char *  val,
void *  priv 
)
static

Definition at line 31 of file evsel_fprintf.c.

Here is the call graph for this function:

◆ comma_fprintf()

static int comma_fprintf ( FILE *  fp,
bool *  first,
const char *  fmt,
  ... 
)
static

Definition at line 13 of file evsel_fprintf.c.

◆ perf_evsel__fprintf()

int perf_evsel__fprintf ( struct perf_evsel evsel,
struct perf_attr_details details,
FILE *  fp 
)

Definition at line 36 of file evsel_fprintf.c.

Here is the call graph for this function:

◆ sample__fprintf_callchain()

int sample__fprintf_callchain ( struct perf_sample sample,
int  left_alignment,
unsigned int  print_opts,
struct callchain_cursor cursor,
FILE *  fp 
)

Definition at line 102 of file evsel_fprintf.c.

Here is the call graph for this function:

◆ sample__fprintf_sym()

int sample__fprintf_sym ( struct perf_sample sample,
struct addr_location al,
int  left_alignment,
unsigned int  print_opts,
struct callchain_cursor cursor,
FILE *  fp 
)

Definition at line 192 of file evsel_fprintf.c.

Here is the call graph for this function: