op_config.c File Reference

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

Go to the source code of this file.

Functions

void init_op_config_dirs (char const *session_dir)

Variables

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]

Detailed Description

Oprofile configuration parameters.

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

Definition in file op_config.c.


Function Documentation

void init_op_config_dirs ( char const *  session_dir  ) 

must be called to initialize the paths below.

Parameters:
session_dir the non-NULL value of the base session directory

Definition at line 36 of file op_config.c.

References op_device, op_dump_status, op_hash_device, op_lock_file, op_log_file, op_note_device, op_pipe_file, op_samples_current_dir, op_samples_dir, and op_session_dir.

Referenced by main().

Here is the caller graph for this function:


Variable Documentation

char op_device[PATH_MAX]

Definition at line 31 of file op_config.c.

Referenced by init_op_config_dirs(), and op_open_files().

char op_dump_status[PATH_MAX]

Definition at line 28 of file op_config.c.

Referenced by complete_dump(), and init_op_config_dirs().

char op_hash_device[PATH_MAX]

Definition at line 33 of file op_config.c.

Referenced by init_op_config_dirs(), and op_open_files().

char op_lock_file[PATH_MAX]

Definition at line 25 of file op_config.c.

Referenced by clean_exit(), init_op_config_dirs(), and main().

char op_log_file[PATH_MAX]

Definition at line 26 of file op_config.c.

Referenced by init_op_config_dirs(), op_open_files(), opd_open_files(), and opd_open_logfile().

char op_note_device[PATH_MAX]

Definition at line 32 of file op_config.c.

Referenced by init_op_config_dirs(), and op_open_files().

char op_pipe_file[PATH_MAX]

Definition at line 27 of file op_config.c.

Referenced by init_op_config_dirs(), opd_create_pipe(), and opd_open_pipe().

char op_samples_current_dir[PATH_MAX]

Definition at line 24 of file op_config.c.

Referenced by convert_sample_data(), init_op_config_dirs(), main(), and op_mangle_filename().

char op_samples_dir[PATH_MAX]
char op_session_dir[PATH_MAX]

Definition at line 22 of file op_config.c.

Referenced by handle_options(), init_op_config_dirs(), opd_go_daemon(), and opd_write_abi().


Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1