Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
config.c File Reference
#include "util.h"
#include "cache.h"
#include "exec_cmd.h"

Go to the source code of this file.

Data Structures

struct  buildid_dir_config
 

Macros

#define MAXNAME   (256)
 
#define DEBUG_CACHE_DIR   ".debug"
 

Functions

int perf_config_int (const char *name, const char *value)
 
int perf_config_bool (const char *name, const char *value)
 
const charperf_config_dirname (const char *name, const char *value)
 
int perf_default_config (const char *var, const char *value, void *dummy __maybe_unused)
 
int perf_config (config_fn_t fn, void *data)
 
int config_error_nonbool (const char *var)
 
void set_buildid_dir (void)
 

Variables

char buildid_dir [MAXPATHLEN]
 

Macro Definition Documentation

#define DEBUG_CACHE_DIR   ".debug"

Definition at line 17 of file config.c.

#define MAXNAME   (256)

Definition at line 15 of file config.c.

Function Documentation

int config_error_nonbool ( const char var)

Definition at line 456 of file config.c.

int perf_config ( config_fn_t  fn,
void data 
)

Definition at line 404 of file config.c.

int perf_config_bool ( const char name,
const char value 
)

Definition at line 332 of file config.c.

const char* perf_config_dirname ( const char name,
const char value 
)

Definition at line 338 of file config.c.

int perf_config_int ( const char name,
const char value 
)

Definition at line 309 of file config.c.

int perf_default_config ( const char var,
const char value,
void *dummy  __maybe_unused 
)

Definition at line 352 of file config.c.

void set_buildid_dir ( void  )

Definition at line 489 of file config.c.

Variable Documentation

char buildid_dir[MAXPATHLEN]

Definition at line 20 of file config.c.