#include "opd_trans.h"#include "odb.h"#include <stdlib.h>#include <stdint.h>

Go to the source code of this file.
Data Structures | |
| struct | opd_ext_feature |
| struct | opd_ext_handlers |
| struct | opd_ext_sfile_handlers |
Functions | |
| int | opd_ext_initialize (char const *value) |
| int | opd_ext_deinitialize () |
| void | opd_ext_print_stats () |
| void | opd_ext_sfile_create (struct sfile *sf) |
| void | opd_ext_sfile_dup (struct sfile *to, struct sfile *from) |
| void | opd_ext_sfile_close (struct sfile *sf) |
| void | opd_ext_sfile_sync (struct sfile *sf) |
| odb_t * | opd_ext_sfile_get (struct transient const *trans, int is_cg) |
| struct opd_event * | opd_ext_find_counter_event (unsigned long counter) |
OProfile Extended Feature
Definition in file opd_extended.h.
| int opd_ext_deinitialize | ( | ) |
| value,: | commandline input option string |
Deinitialize
Definition at line 112 of file opd_extended.c.
References opd_ext_handlers::ext_deinit, opd_ext_feature::handlers, and opd_ext_feat_index.
Referenced by opd_sigterm().

| struct opd_event* opd_ext_find_counter_event | ( | unsigned long | counter | ) | [read] |
| counter,: | counter index |
Get event struct opd_event from the counter index value.
Definition at line 186 of file opd_extended.c.
References opd_ext_handlers::ext_sfile, opd_ext_sfile_handlers::find_counter_event, opd_ext_feature::handlers, handlers, is_ext_sfile_enabled(), and opd_ext_feat_index.
Referenced by find_counter_event().


| int opd_ext_initialize | ( | char const * | value | ) |
| value,: | commandline input option string |
Parse the specified extended feature
Param "value" is the input from CML option with the format:
<feature name>="">:<param1>:<param2>:<param3>:.....
where param1,2.3,..n are optional.
Definition at line 83 of file opd_extended.c.
References opd_ext_handlers::ext_init, get_index_for_feature(), opd_ext_feature::handlers, op_xstrndup(), and opd_ext_feat_index.
Referenced by opd_options().


| void opd_ext_print_stats | ( | ) |
Print out extended feature statistics in oprofiled.log file
Definition at line 126 of file opd_extended.c.
References opd_ext_handlers::ext_print_stats, opd_ext_feature::handlers, handlers, is_ext_enabled(), and opd_ext_feat_index.
Referenced by opd_print_stats().


| void opd_ext_sfile_close | ( | struct sfile * | sf | ) |
Definition at line 157 of file opd_extended.c.
References opd_ext_sfile_handlers::close, opd_ext_handlers::ext_sfile, opd_ext_feature::handlers, handlers, is_ext_sfile_enabled(), and opd_ext_feat_index.
Referenced by close_sfile().


| void opd_ext_sfile_create | ( | struct sfile * | sf | ) |
opd_sfile extended sfile handling functions
opd_sfile extended APIs
Definition at line 139 of file opd_extended.c.
References opd_ext_sfile_handlers::create, opd_ext_handlers::ext_sfile, opd_ext_feature::handlers, handlers, is_ext_sfile_enabled(), and opd_ext_feat_index.
Referenced by create_sfile().


Definition at line 148 of file opd_extended.c.
References opd_ext_sfile_handlers::dup, opd_ext_handlers::ext_sfile, opd_ext_feature::handlers, handlers, is_ext_sfile_enabled(), and opd_ext_feat_index.
Referenced by sfile_dup().


Definition at line 175 of file opd_extended.c.
References opd_ext_handlers::ext_sfile, opd_ext_sfile_handlers::get, opd_ext_feature::handlers, handlers, is_ext_sfile_enabled(), opd_ext_feat_index, and trans.
Referenced by get_file().


| void opd_ext_sfile_sync | ( | struct sfile * | sf | ) |
Definition at line 166 of file opd_extended.c.
References opd_ext_handlers::ext_sfile, opd_ext_feature::handlers, handlers, is_ext_sfile_enabled(), opd_ext_feat_index, and opd_ext_sfile_handlers::sync.
Referenced by sync_sfile().


1.6.1