Initialisation and setup. More...
#include <signal.h>

Go to the source code of this file.
Classes | |
| struct | oprofiled_ops |
Functions | |
| void | opd_open_logfile (void) |
| opd_open_logfile - open the log file | |
| int | is_image_ignored (char const *name) |
| is_image_ignored - check if we must ignore this image | |
| int | opd_read_fs_int (char const *path, char const *name, int is_fatal) |
| return the int in the given oprofilefs file, error is fatal if !is_fatal | |
Variables | |
| sig_atomic_t | signal_alarm |
| global variable positioned by signal handler | |
| sig_atomic_t | signal_hup |
| sig_atomic_t | signal_term |
| sig_atomic_t | signal_child |
| sig_atomic_t | signal_usr1 |
| sig_atomic_t | signal_usr2 |
| unsigned int | op_nr_counters |
| int | separate_lib |
| int | separate_kernel |
| int | separate_thread |
| int | separate_cpu |
| int | no_vmlinux |
| char * | vmlinux |
| char * | kernel_range |
| int | no_xen |
| char * | xenimage |
| char * | xen_range |
Initialisation and setup.
| int is_image_ignored | ( | char const * | name | ) |
is_image_ignored - check if we must ignore this image
| name | the name to check |
Return true if the image should not be profiled
References list_entry, list_for_each, opd_hashed_name::name, opd_hashed_name::next, and op_hash_string().
| void opd_open_logfile | ( | void | ) |
opd_open_logfile - open the log file
Open the logfile on stdout and stderr. This function assumes that 1 and 2 are the lowest close()d file descriptors. Failure to open on either descriptor is a fatal error.
References op_log_file.
| int opd_read_fs_int | ( | char const * | path, | |
| char const * | name, | |||
| int | fatal | |||
| ) |
return the int in the given oprofilefs file, error is fatal if !is_fatal
References op_read_int_from_file().
Referenced by opd_print_24_stats().
| char* kernel_range |
| int no_vmlinux |
| int no_xen |
Referenced by opd_create_xen().
| unsigned int op_nr_counters |
| int separate_cpu |
| int separate_kernel |
Referenced by opd_put_sample().
| int separate_lib |
| int separate_thread |
| sig_atomic_t signal_alarm |
global variable positioned by signal handler
| sig_atomic_t signal_child |
| sig_atomic_t signal_hup |
| sig_atomic_t signal_term |
| sig_atomic_t signal_usr1 |
| sig_atomic_t signal_usr2 |
| char* vmlinux |
Referenced by opd_add_kernel_map(), opd_init_kernel_image(), and start_profiling().
| char* xen_range |
| char* xenimage |
1.6.1