Linux Perf
values.c File Reference
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include "util.h"
#include "values.h"
#include "debug.h"
Include dependency graph for values.c:

Go to the source code of this file.

Functions

int perf_read_values_init (struct perf_read_values *values)
 
void perf_read_values_destroy (struct perf_read_values *values)
 
static int perf_read_values__enlarge_threads (struct perf_read_values *values)
 
static int perf_read_values__findnew_thread (struct perf_read_values *values, u32 pid, u32 tid)
 
static int perf_read_values__enlarge_counters (struct perf_read_values *values)
 
static int perf_read_values__findnew_counter (struct perf_read_values *values, u64 rawid, const char *name)
 
int perf_read_values_add_value (struct perf_read_values *values, u32 pid, u32 tid, u64 rawid, const char *name, u64 value)
 
static void perf_read_values__display_pretty (FILE *fp, struct perf_read_values *values)
 
static void perf_read_values__display_raw (FILE *fp, struct perf_read_values *values)
 
void perf_read_values_display (FILE *fp, struct perf_read_values *values, int raw)
 

Function Documentation

◆ perf_read_values__display_pretty()

static void perf_read_values__display_pretty ( FILE *  fp,
struct perf_read_values values 
)
static

Definition at line 200 of file values.c.

Here is the call graph for this function:

◆ perf_read_values__display_raw()

static void perf_read_values__display_raw ( FILE *  fp,
struct perf_read_values values 
)
static

Definition at line 248 of file values.c.

◆ perf_read_values__enlarge_counters()

static int perf_read_values__enlarge_counters ( struct perf_read_values values)
static

Definition at line 116 of file values.c.

Here is the call graph for this function:

◆ perf_read_values__enlarge_threads()

static int perf_read_values__enlarge_threads ( struct perf_read_values values)
static

Definition at line 64 of file values.c.

Here is the call graph for this function:

◆ perf_read_values__findnew_counter()

static int perf_read_values__findnew_counter ( struct perf_read_values values,
u64  rawid,
const char *  name 
)
static

Definition at line 161 of file values.c.

Here is the call graph for this function:

◆ perf_read_values__findnew_thread()

static int perf_read_values__findnew_thread ( struct perf_read_values values,
u32  pid,
u32  tid 
)
static

Definition at line 87 of file values.c.

Here is the call graph for this function:

◆ perf_read_values_add_value()

int perf_read_values_add_value ( struct perf_read_values values,
u32  pid,
u32  tid,
u64  rawid,
const char *  name,
u64  value 
)

Definition at line 183 of file values.c.

Here is the call graph for this function:

◆ perf_read_values_destroy()

void perf_read_values_destroy ( struct perf_read_values values)

Definition at line 46 of file values.c.

◆ perf_read_values_display()

void perf_read_values_display ( FILE *  fp,
struct perf_read_values values,
int  raw 
)

Definition at line 298 of file values.c.

Here is the call graph for this function:

◆ perf_read_values_init()

int perf_read_values_init ( struct perf_read_values values)

Definition at line 11 of file values.c.

Here is the call graph for this function: