|
PAPI
5.7.0.0
|

Go to the source code of this file.
Macros | |
| #define | OBSOLETE_WORKAROUNDS 0 |
| #define | PERF_EVENTS_OPENED 0x01 |
| #define | PERF_EVENTS_RUNNING 0x02 |
| #define | PAPI_REFRESH_VALUE 1 |
| #define | READ_BUFFER_SIZE (3 + (2 * PERF_EVENT_MAX_MPX_COUNTERS)) |
Functions | |
| static int | _pe_set_domain (hwd_control_state_t *ctl, int domain) |
| static int | pe_vendor_fixups (papi_vector_t *vector) |
| static int | bug_format_group (void) |
| static int | fcntl_setown_fd (int fd) |
| static unsigned int | get_read_format (unsigned int multiplex, unsigned int inherit, int format_group) |
| static int | check_exclude_guest (void) |
| static void | perf_event_dump_attr (struct perf_event_attr *hw_event, pid_t pid, int cpu, int group_fd, unsigned long int flags) |
| static int | map_perf_event_errors_to_papi (int perf_event_error) |
| static int | check_permissions (unsigned long tid, unsigned int cpu_num, unsigned int domain, unsigned int granularity, unsigned int multiplex, unsigned int inherit) |
| static int | check_scheduability (pe_context_t *ctx, pe_control_t *ctl, int idx) |
| static int | configure_fd_for_sampling (pe_control_t *ctl, int evt_idx) |
| static int | set_up_mmap (pe_control_t *ctl, int evt_idx) |
| static int | open_pe_events (pe_context_t *ctx, pe_control_t *ctl) |
| static int | close_event (pe_event_info_t *event) |
| static int | close_pe_events (pe_context_t *ctx, pe_control_t *ctl) |
| static int | _pe_shutdown_thread (hwd_context_t *ctx) |
| static int | _pe_init_thread (hwd_context_t *hwd_ctx) |
| static int | _pe_reset (hwd_context_t *ctx, hwd_control_state_t *ctl) |
| static int | _pe_write (hwd_context_t *ctx, hwd_control_state_t *ctl, long long *from) |
| static int | _pe_rdpmc_read (hwd_context_t *ctx, hwd_control_state_t *ctl, long long **events, int flags) |
| static int | _pe_read_multiplexed (pe_control_t *pe_ctl) |
| static int | _pe_read_nogroup (pe_control_t *pe_ctl) |
| static int | _pe_read (hwd_context_t *ctx, hwd_control_state_t *ctl, long long **events, int flags) |
| static int | _pe_start (hwd_context_t *ctx, hwd_control_state_t *ctl) |
| static int | _pe_stop (hwd_context_t *ctx, hwd_control_state_t *ctl) |
| static int | _pe_update_control_state (hwd_control_state_t *ctl, NativeInfo_t *native, int count, hwd_context_t *ctx) |
| static int | _pe_ctl (hwd_context_t *ctx, int code, _papi_int_option_t *option) |
| static int | _pe_init_control_state (hwd_control_state_t *ctl) |
| static int | _pe_ntv_enum_events (unsigned int *PapiEventCode, int modifier) |
| static int | _pe_ntv_name_to_code (const char *name, unsigned int *event_code) |
| static int | _pe_ntv_code_to_name (unsigned int EventCode, char *ntv_name, int len) |
| static int | _pe_ntv_code_to_descr (unsigned int EventCode, char *ntv_descr, int len) |
| static int | _pe_ntv_code_to_info (unsigned int EventCode, PAPI_event_info_t *info) |
| static int | find_profile_index (EventSetInfo_t *ESI, int evt_idx, int *flags, unsigned int *native_index, int *profile_index) |
| static int | process_smpl_buf (int evt_idx, ThreadInfo_t **thr, int cidx) |
| static void | _pe_dispatch_timer (int n, hwd_siginfo_t *info, void *uc) |
| static int | _pe_stop_profiling (ThreadInfo_t *thread, EventSetInfo_t *ESI) |
| static int | _pe_set_overflow (EventSetInfo_t *ESI, int EventIndex, int threshold) |
| static int | _pe_set_profile (EventSetInfo_t *ESI, int EventIndex, int threshold) |
| static int | _pe_shutdown_component (void) |
| static int | _pe_detect_rdpmc (void) |
| static int | _pe_handle_paranoid (papi_vector_t *component) |
| static int | _pe_init_component (int cidx) |
Variables | |
| papi_vector_t | _perf_event_vector |
| struct native_event_table_t | perf_native_event_table |
| static int | our_cidx |
| static int | exclude_guest_unsupported |
| #define OBSOLETE_WORKAROUNDS 0 |
Definition at line 61 of file perf_event.c.
| #define PAPI_REFRESH_VALUE 1 |
Definition at line 83 of file perf_event.c.
| #define PERF_EVENTS_OPENED 0x01 |
Definition at line 64 of file perf_event.c.
| #define PERF_EVENTS_RUNNING 0x02 |
Definition at line 65 of file perf_event.c.
| #define READ_BUFFER_SIZE (3 + (2 * PERF_EVENT_MAX_MPX_COUNTERS)) |
Definition at line 494 of file perf_event.c.
|
static |
Definition at line 1631 of file perf_event.c.

|
static |
Definition at line 2295 of file perf_event.c.


|
static |
Definition at line 1930 of file perf_event.c.

|
static |
|
static |
Definition at line 2457 of file perf_event.c.

|
static |
Definition at line 1804 of file perf_event.c.

|
static |
Definition at line 1012 of file perf_event.c.
|
static |
Definition at line 1856 of file perf_event.c.

|
static |
Definition at line 1865 of file perf_event.c.

|
static |
Definition at line 1847 of file perf_event.c.

|
static |
Definition at line 1833 of file perf_event.c.

|
static |
Definition at line 1840 of file perf_event.c.

|
static |
Definition at line 1096 of file perf_event.c.


|
static |
Definition at line 1263 of file perf_event.c.

|
static |
Definition at line 1153 of file perf_event.c.


|
static |
Definition at line 1225 of file perf_event.c.


|
static |
Definition at line 1035 of file perf_event.c.


|
static |
Definition at line 986 of file perf_event.c.

|
static |
Definition at line 2113 of file perf_event.c.


|
static |
Definition at line 2212 of file perf_event.c.

|
static |
Definition at line 2282 of file perf_event.c.

|
static |
Definition at line 1001 of file perf_event.c.
|
static |
Definition at line 1413 of file perf_event.c.

|
static |
Definition at line 1459 of file perf_event.c.

|
static |
Definition at line 2081 of file perf_event.c.

|
static |
Definition at line 1501 of file perf_event.c.


|
static |
Definition at line 1062 of file perf_event.c.
|
static |
|
static |
Definition at line 272 of file perf_event.c.


|
static |
Check if the current set of options is supported by
Definition at line 433 of file perf_event.c.


|
static |
Definition at line 504 of file perf_event.c.


|
static |
Definition at line 882 of file perf_event.c.


|
static |
Definition at line 916 of file perf_event.c.


|
static |
Definition at line 579 of file perf_event.c.


|
static |
Definition at line 216 of file perf_event.c.


|
static |
Definition at line 1878 of file perf_event.c.


|
static |
Definition at line 241 of file perf_event.c.


|
static |
|
static |
Definition at line 681 of file perf_event.c.


|
static |
|
static |
|
static |
Definition at line 1905 of file perf_event.c.


|
static |
Definition at line 625 of file perf_event.c.


| papi_vector_t _perf_event_vector |
Definition at line 68 of file perf_event.c.
|
static |
Definition at line 73 of file perf_event.c.
|
static |
Definition at line 72 of file perf_event.c.
| struct native_event_table_t perf_native_event_table |
Definition at line 71 of file perf_event.c.