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

Go to the source code of this file.

Classes

struct  cpu_topology_map
 
struct  cpu_cache_level
 
struct  numa_node
 
struct  memory_node
 
struct  perf_env
 

Functions

void perf_env__exit (struct perf_env *env)
 
int perf_env__set_cmdline (struct perf_env *env, int argc, const char *argv[])
 
int perf_env__read_cpu_topology_map (struct perf_env *env)
 
void cpu_cache_level__free (struct cpu_cache_level *cache)
 
const char * perf_env__arch (struct perf_env *env)
 
const char * perf_env__raw_arch (struct perf_env *env)
 
int perf_env__nr_cpus_avail (struct perf_env *env)
 

Variables

struct perf_env perf_env
 

Function Documentation

◆ cpu_cache_level__free()

void cpu_cache_level__free ( struct cpu_cache_level cache)

Definition at line 127 of file env.c.

Here is the call graph for this function:

◆ perf_env__arch()

const char* perf_env__arch ( struct perf_env env)

Definition at line 164 of file env.c.

Here is the call graph for this function:

◆ perf_env__exit()

void perf_env__exit ( struct perf_env env)

Definition at line 11 of file env.c.

Here is the call graph for this function:

◆ perf_env__nr_cpus_avail()

int perf_env__nr_cpus_avail ( struct perf_env env)

Definition at line 122 of file env.c.

Here is the call graph for this function:

◆ perf_env__raw_arch()

const char* perf_env__raw_arch ( struct perf_env env)

Definition at line 117 of file env.c.

Here is the call graph for this function:

◆ perf_env__read_cpu_topology_map()

int perf_env__read_cpu_topology_map ( struct perf_env env)

Definition at line 69 of file env.c.

Here is the call graph for this function:

◆ perf_env__set_cmdline()

int perf_env__set_cmdline ( struct perf_env env,
int  argc,
const char *  argv[] 
)

Definition at line 41 of file env.c.

Variable Documentation

◆ perf_env

Definition at line 9 of file env.c.