HPCToolkit
|
Go to the source code of this file.
Macros | |
#define | PERF_EVENT_AUTODETECT_SKID 4 |
#define | PERF_EVENT_SKID_ZERO_REQUIRED 3 |
#define | PERF_EVENT_SKID_ZERO_REQUESTED 2 |
#define | PERF_EVENT_SKID_CONSTANT 1 |
#define | PERF_EVENT_SKID_ARBITRARY 0 |
#define | PERF_EVENT_SKID_ERROR -1 |
Functions | |
int | perf_skid_parse_event (const char *event_string, char **event_string_without_skidmarks) |
int | perf_skid_set_max_precise_ip (struct perf_event_attr *attr) |
u64 | perf_skid_get_precise_ip (struct perf_event_attr *attr) |
#define PERF_EVENT_AUTODETECT_SKID 4 |
Definition at line 49 of file perf_skid.h.
#define PERF_EVENT_SKID_ARBITRARY 0 |
Definition at line 53 of file perf_skid.h.
#define PERF_EVENT_SKID_CONSTANT 1 |
Definition at line 52 of file perf_skid.h.
#define PERF_EVENT_SKID_ERROR -1 |
Definition at line 54 of file perf_skid.h.
#define PERF_EVENT_SKID_ZERO_REQUESTED 2 |
Definition at line 51 of file perf_skid.h.
#define PERF_EVENT_SKID_ZERO_REQUIRED 3 |
Definition at line 50 of file perf_skid.h.
u64 perf_skid_get_precise_ip | ( | struct perf_event_attr * | attr | ) |
Definition at line 207 of file perf_skid.c.
int perf_skid_parse_event | ( | const char * | event_string, |
char ** | event_string_without_skidmarks | ||
) |
Definition at line 243 of file perf_skid.c.
int perf_skid_set_max_precise_ip | ( | struct perf_event_attr * | attr | ) |
set precise_ip attribute to the max value
TODO: this method only works on some platforms, and not general enough on all the platforms.
Definition at line 176 of file perf_skid.c.