|
void | perf_header__set_feat (struct perf_header *header, int feat) |
|
void | perf_header__clear_feat (struct perf_header *header, int feat) |
|
bool | perf_header__has_feat (const struct perf_header *header, int feat) |
|
static int | __do_write_fd (struct feat_fd *ff, const void *buf, size_t size) |
|
static int | __do_write_buf (struct feat_fd *ff, const void *buf, size_t size) |
|
int | do_write (struct feat_fd *ff, const void *buf, size_t size) |
|
static int | do_write_bitmap (struct feat_fd *ff, unsigned long *set, u64 size) |
|
int | write_padded (struct feat_fd *ff, const void *bf, size_t count, size_t count_aligned) |
|
static int | do_write_string (struct feat_fd *ff, const char *str) |
|
static int | __do_read_fd (struct feat_fd *ff, void *addr, ssize_t size) |
|
static int | __do_read_buf (struct feat_fd *ff, void *addr, ssize_t size) |
|
static int | __do_read (struct feat_fd *ff, void *addr, ssize_t size) |
|
static int | do_read_u32 (struct feat_fd *ff, u32 *addr) |
|
static int | do_read_u64 (struct feat_fd *ff, u64 *addr) |
|
static char * | do_read_string (struct feat_fd *ff) |
|
static int | do_read_bitmap (struct feat_fd *ff, unsigned long **pset, u64 *psize) |
|
static int | write_tracing_data (struct feat_fd *ff, struct perf_evlist *evlist) |
|
static int | write_build_id (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_hostname (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_osrelease (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_arch (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_version (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | __write_cpudesc (struct feat_fd *ff, const char *cpuinfo_proc) |
|
static int | write_cpudesc (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_nrcpus (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_event_desc (struct feat_fd *ff, struct perf_evlist *evlist) |
|
static int | write_cmdline (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | build_cpu_topo (struct cpu_topo *tp, int cpu) |
|
static void | free_cpu_topo (struct cpu_topo *tp) |
|
static struct cpu_topo * | build_cpu_topology (void) |
|
static int | write_cpu_topology (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_total_mem (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_topo_node (struct feat_fd *ff, int node) |
|
static int | write_numa_topology (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_pmu_mappings (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_group_desc (struct feat_fd *ff, struct perf_evlist *evlist) |
|
int __weak | get_cpuid (char *buffer __maybe_unused, size_t sz __maybe_unused) |
|
static int | write_cpuid (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_branch_stack (struct feat_fd *ff __maybe_unused, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_auxtrace (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | cpu_cache_level__sort (const void *a, const void *b) |
|
static bool | cpu_cache_level__cmp (struct cpu_cache_level *a, struct cpu_cache_level *b) |
|
static int | cpu_cache_level__read (struct cpu_cache_level *cache, u32 cpu, u16 level) |
|
static void | cpu_cache_level__fprintf (FILE *out, struct cpu_cache_level *c) |
|
static int | build_caches (struct cpu_cache_level caches[], u32 size, u32 *cntp) |
|
static int | write_cache (struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_stat (struct feat_fd *ff __maybe_unused, struct perf_evlist *evlist __maybe_unused) |
|
static int | write_sample_time (struct feat_fd *ff, struct perf_evlist *evlist) |
|
static int | memory_node__read (struct memory_node *n, unsigned long idx) |
|
static int | memory_node__sort (const void *a, const void *b) |
|
static int | build_mem_topology (struct memory_node *nodes, u64 size, u64 *cntp) |
|
static int | write_mem_topology (struct feat_fd *ff __maybe_unused, struct perf_evlist *evlist __maybe_unused) |
|
static void | print_hostname (struct feat_fd *ff, FILE *fp) |
|
static void | print_osrelease (struct feat_fd *ff, FILE *fp) |
|
static void | print_arch (struct feat_fd *ff, FILE *fp) |
|
static void | print_cpudesc (struct feat_fd *ff, FILE *fp) |
|
static void | print_nrcpus (struct feat_fd *ff, FILE *fp) |
|
static void | print_version (struct feat_fd *ff, FILE *fp) |
|
static void | print_cmdline (struct feat_fd *ff, FILE *fp) |
|
static void | print_cpu_topology (struct feat_fd *ff, FILE *fp) |
|
static void | free_event_desc (struct perf_evsel *events) |
|
static struct perf_evsel * | read_event_desc (struct feat_fd *ff) |
|
static int | __desc_attr__fprintf (FILE *fp, const char *name, const char *val, void *priv __maybe_unused) |
|
static void | print_event_desc (struct feat_fd *ff, FILE *fp) |
|
static void | print_total_mem (struct feat_fd *ff, FILE *fp) |
|
static void | print_numa_topology (struct feat_fd *ff, FILE *fp) |
|
static void | print_cpuid (struct feat_fd *ff, FILE *fp) |
|
static void | print_branch_stack (struct feat_fd *ff __maybe_unused, FILE *fp) |
|
static void | print_auxtrace (struct feat_fd *ff __maybe_unused, FILE *fp) |
|
static void | print_stat (struct feat_fd *ff __maybe_unused, FILE *fp) |
|
static void | print_cache (struct feat_fd *ff, FILE *fp __maybe_unused) |
|
static void | print_pmu_mappings (struct feat_fd *ff, FILE *fp) |
|
static void | print_group_desc (struct feat_fd *ff, FILE *fp) |
|
static void | print_sample_time (struct feat_fd *ff, FILE *fp) |
|
static void | memory_node__fprintf (struct memory_node *n, unsigned long long bsize, FILE *fp) |
|
static void | print_mem_topology (struct feat_fd *ff, FILE *fp) |
|
static int | __event_process_build_id (struct build_id_event *bev, char *filename, struct perf_session *session) |
|
static int | perf_header__read_build_ids_abi_quirk (struct perf_header *header, int input, u64 offset, u64 size) |
|
static int | perf_header__read_build_ids (struct perf_header *header, int input, u64 offset, u64 size) |
|
| FEAT_PROCESS_STR_FUN (hostname, hostname) |
|
| FEAT_PROCESS_STR_FUN (osrelease, os_release) |
|
| FEAT_PROCESS_STR_FUN (version, version) |
|
| FEAT_PROCESS_STR_FUN (arch, arch) |
|
| FEAT_PROCESS_STR_FUN (cpudesc, cpu_desc) |
|
| FEAT_PROCESS_STR_FUN (cpuid, cpuid) |
|
static int | process_tracing_data (struct feat_fd *ff, void *data) |
|
static int | process_build_id (struct feat_fd *ff, void *data __maybe_unused) |
|
static int | process_nrcpus (struct feat_fd *ff, void *data __maybe_unused) |
|
static int | process_total_mem (struct feat_fd *ff, void *data __maybe_unused) |
|
static struct perf_evsel * | perf_evlist__find_by_index (struct perf_evlist *evlist, int idx) |
|
static void | perf_evlist__set_event_name (struct perf_evlist *evlist, struct perf_evsel *event) |
|
static int | process_event_desc (struct feat_fd *ff, void *data __maybe_unused) |
|
static int | process_cmdline (struct feat_fd *ff, void *data __maybe_unused) |
|
static int | process_cpu_topology (struct feat_fd *ff, void *data __maybe_unused) |
|
static int | process_numa_topology (struct feat_fd *ff, void *data __maybe_unused) |
|
static int | process_pmu_mappings (struct feat_fd *ff, void *data __maybe_unused) |
|
static int | process_group_desc (struct feat_fd *ff, void *data __maybe_unused) |
|
static int | process_auxtrace (struct feat_fd *ff, void *data __maybe_unused) |
|
static int | process_cache (struct feat_fd *ff, void *data __maybe_unused) |
|
static int | process_sample_time (struct feat_fd *ff, void *data __maybe_unused) |
|
static int | process_mem_topology (struct feat_fd *ff, void *data __maybe_unused) |
|
static int | perf_file_section__fprintf_info (struct perf_file_section *section, struct perf_header *ph, int feat, int fd, void *data) |
|
int | perf_header__fprintf_info (struct perf_session *session, FILE *fp, bool full) |
|
static int | do_write_feat (struct feat_fd *ff, int type, struct perf_file_section **p, struct perf_evlist *evlist) |
|
static int | perf_header__adds_write (struct perf_header *header, struct perf_evlist *evlist, int fd) |
|
int | perf_header__write_pipe (int fd) |
|
int | perf_session__write_header (struct perf_session *session, struct perf_evlist *evlist, int fd, bool at_exit) |
|
static int | perf_header__getbuffer64 (struct perf_header *header, int fd, void *buf, size_t size) |
|
int | perf_header__process_sections (struct perf_header *header, int fd, void *data, int(*process)(struct perf_file_section *section, struct perf_header *ph, int feat, int fd, void *data)) |
|
static int | try_all_file_abis (uint64_t hdr_sz, struct perf_header *ph) |
|
static int | try_all_pipe_abis (uint64_t hdr_sz, struct perf_header *ph) |
|
bool | is_perf_magic (u64 magic) |
|
static int | check_magic_endian (u64 magic, uint64_t hdr_sz, bool is_pipe, struct perf_header *ph) |
|
int | perf_file_header__read (struct perf_file_header *header, struct perf_header *ph, int fd) |
|
static int | perf_file_section__process (struct perf_file_section *section, struct perf_header *ph, int feat, int fd, void *data) |
|
static int | perf_file_header__read_pipe (struct perf_pipe_file_header *header, struct perf_header *ph, int fd, bool repipe) |
|
static int | perf_header__read_pipe (struct perf_session *session) |
|
static int | read_attr (int fd, struct perf_header *ph, struct perf_file_attr *f_attr) |
|
static int | perf_evsel__prepare_tracepoint_event (struct perf_evsel *evsel, struct pevent *pevent) |
|
static int | perf_evlist__prepare_tracepoint_events (struct perf_evlist *evlist, struct pevent *pevent) |
|
int | perf_session__read_header (struct perf_session *session) |
|
int | perf_event__synthesize_attr (struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 *id, perf_event__handler_t process) |
|
int | perf_event__synthesize_features (struct perf_tool *tool, struct perf_session *session, struct perf_evlist *evlist, perf_event__handler_t process) |
|
int | perf_event__process_feature (struct perf_tool *tool, union perf_event *event, struct perf_session *session __maybe_unused) |
|
static struct event_update_event * | event_update_event__new (size_t size, u64 type, u64 id) |
|
int | perf_event__synthesize_event_update_unit (struct perf_tool *tool, struct perf_evsel *evsel, perf_event__handler_t process) |
|
int | perf_event__synthesize_event_update_scale (struct perf_tool *tool, struct perf_evsel *evsel, perf_event__handler_t process) |
|
int | perf_event__synthesize_event_update_name (struct perf_tool *tool, struct perf_evsel *evsel, perf_event__handler_t process) |
|
int | perf_event__synthesize_event_update_cpus (struct perf_tool *tool, struct perf_evsel *evsel, perf_event__handler_t process) |
|
size_t | perf_event__fprintf_event_update (union perf_event *event, FILE *fp) |
|
int | perf_event__synthesize_attrs (struct perf_tool *tool, struct perf_session *session, perf_event__handler_t process) |
|
static bool | has_unit (struct perf_evsel *counter) |
|
static bool | has_scale (struct perf_evsel *counter) |
|
int | perf_event__synthesize_extra_attr (struct perf_tool *tool, struct perf_evlist *evsel_list, perf_event__handler_t process, bool is_pipe) |
|
int | perf_event__process_attr (struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_evlist **pevlist) |
|
int | perf_event__process_event_update (struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_evlist **pevlist) |
|
int | perf_event__synthesize_tracing_data (struct perf_tool *tool, int fd, struct perf_evlist *evlist, perf_event__handler_t process) |
|
int | perf_event__process_tracing_data (struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_session *session) |
|
int | perf_event__synthesize_build_id (struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__handler_t process, struct machine *machine) |
|
int | perf_event__process_build_id (struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_session *session) |
|