op_config.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define OP_SESSION_DIR_DEFAULT   "/var/lib/oprofile/"
#define DEBUGDIR   "/usr/lib/debug"
#define OPD_MAGIC   "DAE\n"
#define OPD_VERSION   0x12
#define OP_MIN_CPU_BUF_SIZE   2048
#define OP_MAX_CPU_BUF_SIZE   131072

Functions

void init_op_config_dirs (char const *session_dir)

Variables

char op_session_dir []
char op_samples_dir []
char op_samples_current_dir []
char op_lock_file []
char op_log_file []
char op_pipe_file []
char op_dump_status []

Detailed Description

Parameters a user may want to change. See also op_config_24.h

Remarks:
Copyright 2002 OProfile authors
Read the file COPYING
Author:
John Levon
Philippe Elie Daniel Hansel

Definition in file op_config.h.


Define Documentation

#define DEBUGDIR   "/usr/lib/debug"

Definition at line 44 of file op_config.h.

Referenced by find_separate_debug_file().

#define OP_MAX_CPU_BUF_SIZE   131072

Definition at line 51 of file op_config.h.

Referenced by oprof_start::oprof_start(), and oprof_start::record_config().

#define OP_MIN_CPU_BUF_SIZE   2048

Definition at line 50 of file op_config.h.

Referenced by oprof_start::record_config().

#define OP_SESSION_DIR_DEFAULT   "/var/lib/oprofile/"

Definition at line 28 of file op_config.h.

#define OPD_MAGIC   "DAE\n"

Definition at line 47 of file op_config.h.

Referenced by fill_header(), main(), and read_header().

#define OPD_VERSION   0x12

Definition at line 48 of file op_config.h.

Referenced by fill_header(), and main().


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

Definition at line 28 of file op_config.c.

Referenced by complete_dump(), and init_op_config_dirs().

char op_lock_file[]

Definition at line 25 of file op_config.c.

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

char op_log_file[]

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_pipe_file[]

Definition at line 27 of file op_config.c.

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

Definition at line 24 of file op_config.c.

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

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