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:

Functions

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

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]
char * stats_filenames [OPERF_MAX_STATS]

Detailed Description

Oprofile configuration parameters.

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

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

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:
 {
                                           "total_samples",
                                           "",
                                           "",
                                           "lost_invalid_domain",
                                           "lost_kernel",
                                           "lost_samplefile",
                                           "lost_no_mapping",
                                           "lost_no_app_for_kernel_sample",
                                           "lost_no_app_for_user_sample",
                                           "lost_bt_no_mapping",
                                           "lost_invalid_hypervisor_addr",
                                           "lost_records_by_kernel",
}

Referenced by operf_print_stats().


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1