OProfile Extended Feature. More...
#include "opd_trans.h"#include "odb.h"#include <stdlib.h>#include <stdint.h>

Go to the source code of this file.
Classes | |
| struct | opd_ext_feature |
| OProfile Extended Feature Table Entry. More... | |
| struct | opd_ext_handlers |
| OProfile Extended handlers. More... | |
| struct | opd_ext_sfile_handlers |
| OProfile Extended sub-handlers (sfile). More... | |
Functions | |
| int | opd_ext_initialize (char const *value) |
| Param "value" is the input from CML option with the format:. | |
| int | opd_ext_deinitialize () |
| void | opd_ext_print_stats () |
| Print out extended feature statistics in oprofiled.log file. | |
| void | opd_ext_sfile_create (struct sfile *sf) |
| opd_sfile extended sfile handling functions | |
| 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.
| int opd_ext_deinitialize | ( | ) |
| value,: | commandline input option string |
Deinitialize
References opd_ext_handlers::ext_deinit, and opd_ext_feature::handlers.
| 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.
References opd_ext_handlers::ext_sfile, opd_ext_sfile_handlers::find_counter_event, opd_ext_feature::handlers, and handlers.
Referenced by find_counter_event().
| int opd_ext_initialize | ( | char const * | value | ) |
Param "value" is the input from CML option with the format:.
| value,: | commandline input option string |
Parse the specified extended feature
<feature name>="">:<param1>:<param2>:<param3>:.....
where param1,2.3,..n are optional.
References opd_ext_handlers::ext_init, opd_ext_feature::handlers, and op_xstrndup().
| void opd_ext_print_stats | ( | ) |
Print out extended feature statistics in oprofiled.log file.
References opd_ext_handlers::ext_print_stats, opd_ext_feature::handlers, and handlers.
Referenced by opd_print_stats().
| void opd_ext_sfile_close | ( | struct sfile * | sf | ) |
| void opd_ext_sfile_create | ( | struct sfile * | sf | ) |
opd_sfile extended sfile handling functions
References opd_ext_sfile_handlers::create, opd_ext_handlers::ext_sfile, opd_ext_feature::handlers, and handlers.
References opd_ext_sfile_handlers::dup, opd_ext_handlers::ext_sfile, opd_ext_feature::handlers, and handlers.
Referenced by sfile_dup().
References opd_ext_handlers::ext_sfile, opd_ext_sfile_handlers::get, opd_ext_feature::handlers, and handlers.
| void opd_ext_sfile_sync | ( | struct sfile * | sf | ) |
References opd_ext_handlers::ext_sfile, opd_ext_feature::handlers, handlers, and opd_ext_sfile_handlers::sync.
1.6.1