appio component This file contains the source code for a component that enables PAPI to access application level file and socket I/O information. It does this through function replacement in the first person and by trapping syscalls in the third person.
More...
|
int | __close (int fd) |
|
int | close (int fd) |
|
int | __open (const char *pathname, int flags, mode_t mode) |
|
int | open (const char *pathname, int flags, mode_t mode) |
|
int | __select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
|
int | select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
|
off_t | __lseek (int fd, off_t offset, int whence) |
|
off_t | lseek (int fd, off_t offset, int whence) |
|
ssize_t | __read (int fd, void *buf, size_t count) |
|
ssize_t | read (int fd, void *buf, size_t count) |
|
size_t | _IO_fread (void *ptr, size_t size, size_t nmemb, FILE *stream) |
|
size_t | fread (void *ptr, size_t size, size_t nmemb, FILE *stream) |
|
ssize_t | __write (int fd, const void *buf, size_t count) |
|
ssize_t | write (int fd, const void *buf, size_t count) |
|
size_t | _IO_fwrite (const void *ptr, size_t size, size_t nmemb, FILE *stream) |
|
size_t | fwrite (const void *ptr, size_t size, size_t nmemb, FILE *stream) |
|
static int | _appio_init_thread (hwd_context_t *ctx) |
|
static int | _appio_init_component (int cidx) |
|
static int | _appio_init_control_state (hwd_control_state_t *ctl) |
|
static int | _appio_start (hwd_context_t *ctx, hwd_control_state_t *ctl) |
|
static int | _appio_read (hwd_context_t *ctx, hwd_control_state_t *ctl, long long **events, int flags) |
|
static int | _appio_stop (hwd_context_t *ctx, hwd_control_state_t *ctl) |
|
static int | _appio_shutdown_thread (hwd_context_t *ctx) |
|
static int | _appio_shutdown_component (void) |
|
static int | _appio_ctl (hwd_context_t *ctx, int code, _papi_int_option_t *option) |
|
static int | _appio_update_control_state (hwd_control_state_t *ctl, NativeInfo_t *native, int count, hwd_context_t *ctx) |
|
static int | _appio_set_domain (hwd_control_state_t *ctl, int domain) |
|
static int | _appio_reset (hwd_context_t *ctx, hwd_control_state_t *ctl) |
|
static int | _appio_ntv_enum_events (unsigned int *EventCode, int modifier) |
|
static int | _appio_ntv_name_to_code (const char *name, unsigned int *EventCode) |
|
static int | _appio_ntv_code_to_name (unsigned int EventCode, char *name, int len) |
|
static int | _appio_ntv_code_to_descr (unsigned int EventCode, char *desc, int len) |
|
static int | _appio_ntv_code_to_bits (unsigned int EventCode, hwd_register_t *bits) |
|
- Author
- Philip Mucci phil..nosp@m.mucc.nosp@m.i@sam.nosp@m.arat.nosp@m.echno.nosp@m.logy.nosp@m.group.nosp@m..com
-
Tushar Mohan tusha.nosp@m.rmoh.nosp@m.an@gm.nosp@m.ail..nosp@m.com
Credit to: Jose Pedro Oliveira jpo@d.nosp@m.i.um.nosp@m.inho..nosp@m.pt whose code in the linux net component was used as a template for many sections of code in this component.
Definition in file appio.c.