op_config.c File Reference

Oprofile configuration parameters. More...

#include "op_config.h"
#include <limits.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
Include dependency graph for op_config.c:


void init_op_config_dirs (char const *session_dir)
 must be called to initialize the paths below.


char op_session_dir [PATH_MAX]
char op_samples_dir [PATH_MAX]
char op_samples_current_dir [PATH_MAX]
char op_lock_file [PATH_MAX]
char op_log_file [PATH_MAX]
char op_pipe_file [PATH_MAX]
char op_dump_status [PATH_MAX]
char op_device [PATH_MAX]
char op_note_device [PATH_MAX]
char op_hash_device [PATH_MAX]
char * stats_filenames [OPERF_MAX_STATS]

Detailed Description

Oprofile configuration parameters.

Copyright 2002 OProfile authors
Read the file COPYING
Nathan Tallent Daniel Hansel

Function Documentation

void init_op_config_dirs ( char const *  session_dir  ) 

must be called to initialize the paths below.

session_dir the non-NULL value of the base session directory

References op_dump_status, op_lock_file, op_log_file, op_pipe_file, op_samples_current_dir, op_samples_dir, and op_session_dir.

Referenced by main().

Variable Documentation

char op_device[PATH_MAX]
char op_dump_status[PATH_MAX]

Referenced by init_op_config_dirs().

char op_hash_device[PATH_MAX]
char op_lock_file[PATH_MAX]

Referenced by init_op_config_dirs(), and main().

char op_log_file[PATH_MAX]
char op_note_device[PATH_MAX]
char op_pipe_file[PATH_MAX]
char op_samples_current_dir[PATH_MAX]
char op_samples_dir[PATH_MAX]
char op_session_dir[PATH_MAX]
char* stats_filenames[OPERF_MAX_STATS]
Initial value:

Referenced by operf_print_stats().

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1