/external/trace-cmd/include/trace-cmd/ |
D | trace-cmd.h | 16 struct tracecmd_input; 27 struct tracecmd_input *tracecmd_open_head(const char *file, int flags); 28 struct tracecmd_input *tracecmd_open(const char *file, int flags); 29 struct tracecmd_input *tracecmd_open_fd(int fd, int flags); 31 void tracecmd_close(struct tracecmd_input *handle); 33 int tracecmd_init_data(struct tracecmd_input *handle); 35 tracecmd_read_cpu_first(struct tracecmd_input *handle, int cpu); 37 tracecmd_read_data(struct tracecmd_input *handle, int cpu); 39 tracecmd_read_at(struct tracecmd_input *handle, unsigned long long offset, 43 struct tep_handle *tracecmd_get_tep(struct tracecmd_input *handle); [all …]
|
/external/trace-cmd/lib/trace-cmd/include/private/ |
D | trace-cmd-private.h | 97 struct tracecmd_input * 105 const char *tracecmd_get_trace_clock(struct tracecmd_input *handle); 107 const char *tracecmd_get_cpustats(struct tracecmd_input *handle); 108 const char *tracecmd_get_uname(struct tracecmd_input *handle); 109 const char *tracecmd_get_version(struct tracecmd_input *handle); 110 off_t tracecmd_get_cpu_file_size(struct tracecmd_input *handle, int cpu); 175 struct tracecmd_input *handle; 187 typedef void (*tracecmd_show_data_func)(struct tracecmd_input *handle, 189 typedef void (*tracecmd_handle_init_func)(struct tracecmd_input *handle, 192 struct tracecmd_input *tracecmd_alloc(const char *file, int flags); [all …]
|
D | trace-cmd-private-python.h | 9 int tracecmd_long_size(struct tracecmd_input *handle); 10 int tracecmd_cpus(struct tracecmd_input *handle); 13 tracecmd_read_next_data(struct tracecmd_input *handle, int *rec_cpu); 16 tracecmd_peek_data(struct tracecmd_input *handle, int cpu); 19 tracecmd_peek_data_ref(struct tracecmd_input *handle, int cpu) in tracecmd_peek_data_ref()
|
/external/trace-cmd/Documentation/libtracecmd/ |
D | libtracecmd.txt | 15 struct tracecmd_input pass:[*]*tracecmd_open*(const char pass:[*]_file_, int _flags_); 16 struct tracecmd_input pass:[*]*tracecmd_open_fd*(int _fd_, int _flags_); 17 struct tracecmd_input pass:[*]*tracecmd_open_head*(const char pass:[*]_file_, int _flags_); 18 void *tracecmd_close*(struct tracecmd_input pass:[*]_handle_); 19 void *tracecmd_set_private*(struct tracecmd_input pass:[*]_handle_, void pass:[*]_data_); 20 void pass:[*]*tracecmd_get_private*(struct tracecmd_input pass:[*]_handle_); 23 int *tracecmd_init_data*(struct tracecmd_input pass:[*]_handle_); 24 …struct tep_record pass:[*]*tracecmd_read_cpu_first*(struct tracecmd_input pass:[*]_handle_, int _c… 25 struct tep_record pass:[*]*tracecmd_read_data*(struct tracecmd_input pass:[*]_handle_, int _cpu_); 26 …struct tep_record pass:[*]*tracecmd_read_at*(struct tracecmd_input pass:[*]_handle_, unsigned long… [all …]
|
D | libtracecmd-instances.txt | 15 int *tracecmd_buffer_instances*(struct tracecmd_input pass:[*]_handle_); 16 const char pass:[*]*tracecmd_buffer_instance_name*(struct tracecmd_input pass:[*]_handle_, int _ind… 17 struct tracecmd_input pass:[*]*tracecmd_buffer_instance_handle*(struct tracecmd_input pass:[*]_hand… 27 The _handle_ is a tracecmd_input handler returned by 34 is a tracecmd_input handler returned by *tracecmd_open_head()*. 37 tracecmd_input handle, associated with trace instance with index 38 _indx_ from a trace file. The _handle_ is a tracecmd_input handler 53 newly allocated tracecmd_input handler or NULL in case if an error. The 62 struct tracecmd_input *handle = tracecmd_open_head("trace.dat"); 70 struct tracecmd_input *h;
|
D | libtracecmd-files.txt | 15 struct tracecmd_input pass:[*]*tracecmd_open*(const char pass:[*]_file_, int _flags_); 16 struct tracecmd_input pass:[*]*tracecmd_open_fd*(int _fd_, int _flags_); 17 struct tracecmd_input pass:[*]*tracecmd_open_head*(const char pass:[*]_file_, int _flags_); 18 int *tracecmd_init_data*(struct tracecmd_input pass:[*]_handle_); 19 void *tracecmd_close*(struct tracecmd_input pass:[*]_handle_); 20 void *tracecmd_set_private*(struct tracecmd_input pass:[*]_handle_, void pass:[*]_data_); 21 void pass:[*]*tracecmd_get_private*(struct tracecmd_input pass:[*]_handle_); 56 The *tracecmd_close()* function frees a _handle_, pointer to tracecmd_input 69 functions return a pointer to tracecmd_input structure or NULL in case of 71 Note that if *tracecmd_open_fd()* is used to allocate a tracecmd_input handler, [all …]
|
D | libtracecmd-iterate.txt | 15 int *tracecmd_iterate_events*(struct tracecmd_input pass:[*]_handle_, 17 int (pass:[*]_callback_)(struct tracecmd_input pass:[*], 21 int *tracecmd_iterate_events_multi*(struct tracecmd_input pass:[**]_handles_, 23 int (pass:[*]_callback_)(struct tracecmd_input pass:[*], 27 int *tracecmd_iterate_events_reverse*(struct tracecmd_input pass:[*]_handle_, 29 int (pass:[*]_callback_)(struct tracecmd_input pass:[*], 33 int *tracecmd_follow_event*(struct tracecmd_input pass:[*]_handle_, 35 int (pass:[*]_callback_)(struct tracecmd_input pass:[*], 40 int *tracecmd_follow_missed_events*(struct tracecmd_input pass:[*]_handle_, 41 int (pass:[*]_callback_)(struct tracecmd_input pass:[*], [all …]
|
D | libtracecmd-record.txt | 15 struct tep_record pass:[*]*tracecmd_read_cpu_first*(struct tracecmd_input pass:[*]_handle_, int _cp… 16 struct tep_record pass:[*]*tracecmd_read_data*(struct tracecmd_input pass:[*]_handle_, int _cpu_); 17 struct tep_record pass:[*]*tracecmd_read_at*(struct tracecmd_input pass:[*]_handle_, unsigned long … 19 struct tep_handle pass:[*]*tracecmd_get_tep*(struct tracecmd_input pass:[*]_handle_); 66 struct tracecmd_input *handle = tracecmd_open("trace.dat");
|
D | libtracecmd-timestamp.txt | 14 unsigned long long *tracecmd_get_first_ts*(struct tracecmd_input pass:[*]_handle_); 15 void *tracecmd_add_ts_offset*(struct tracecmd_input pass:[*]_handle_, long long _offset_); 16 int *tracecmd_get_tsc2nsec*(struct tracecmd_input pass:[*]_handle_, int pass:[*]_mult_, int pass[*]… 56 static int print_events(struct tracecmd_input *handle, struct tep_record *record, int cpu, void *da… 77 struct tracecmd_input **handles = NULL;
|
D | libtracecmd-peer.txt | 15 unsigned long long *tracecmd_get_traceid*(struct tracecmd_input pass:[*]_handle_); 16 int *tracecmd_get_guest_cpumap*(struct tracecmd_input pass:[*]_handle_, unsigned long long _trace_i… 62 struct tracecmd_input *host = tracecmd_open("trace.dat"); 67 struct tracecmd_input *guest1 = tracecmd_open_head("trace-Guest1.dat"); 71 struct tracecmd_input *guest2 = tracecmd_open_head("trace-Guest2.dat");
|
D | libtracecmd-maps.txt | 15 int *tracecmd_map_vcpus*(struct tracecmd_input pass:[**]handles, int nr_handles); 16 struct tracecmd_cpu_map pass:[*]*tracecmd_get_cpu_map*(struct tracecmd_input pass:[*]handle, int cp… 17 struct tracecmd_cpu_map pass:[*]*tracecmd_map_find_by_host_pid*(struct tracecmd_input pass:[*]handl… 20 struct tracecmd_input pass:[*]*tracecmd_map_get_guest*(struct tracecmd_cpu_map pass:[*]map); 96 struct tracecmd_input **handles = NULL;
|
/external/trace-cmd/lib/trace-cmd/include/ |
D | trace-cmd-local.h | 55 void trace_set_guest_map(struct tracecmd_input *handle, struct tracecmd_cpu_map *map); 56 struct tracecmd_cpu_map *trace_get_guest_map(struct tracecmd_input *handle); 57 void trace_set_guest_map_cnt(struct tracecmd_input *handle, int count); 58 int trace_get_guest_map_cnt(struct tracecmd_input *handle); 79 void in_uncompress_reset(struct tracecmd_input *handle); 80 int in_uncompress_block(struct tracecmd_input *handle); 104 unsigned long long get_last_option_offset(struct tracecmd_input *handle); 105 unsigned int get_meta_strings_size(struct tracecmd_input *handle); 110 struct tracecmd_filter *tracecmd_filter_get(struct tracecmd_input *handle); 111 void tracecmd_filter_set(struct tracecmd_input *handle, struct tracecmd_filter *filter);
|
/external/trace-cmd/lib/trace-cmd/ |
D | trace-input.c | 49 int (*callback)(struct tracecmd_input *handle, 58 struct tracecmd_input *handle; 178 struct tracecmd_input { struct 181 struct tracecmd_input *parent; argument 248 __thread struct tracecmd_input *tracecmd_curr_thread_handle; argument 254 static int read_options_type(struct tracecmd_input *handle); 256 void tracecmd_set_flag(struct tracecmd_input *handle, int flag) in tracecmd_set_flag() 261 void tracecmd_clear_flag(struct tracecmd_input *handle, int flag) in tracecmd_clear_flag() 266 unsigned long tracecmd_get_flags(struct tracecmd_input *handle) in tracecmd_get_flags() 271 enum tracecmd_file_states tracecmd_get_file_state(struct tracecmd_input *handle) in tracecmd_get_file_state() [all …]
|
D | trace-maps.c | 17 struct tracecmd_input *host_handle; 18 struct tracecmd_input *guest_handle; 34 int tracecmd_map_vcpus(struct tracecmd_input **handles, int nr_handles) in tracecmd_map_vcpus() 36 struct tracecmd_input *host_handle = handles[0]; in tracecmd_map_vcpus() 114 struct tracecmd_cpu_map *tracecmd_map_find_by_host_pid(struct tracecmd_input *handle, in tracecmd_map_find_by_host_pid() 156 struct tracecmd_input *tracecmd_map_get_guest(struct tracecmd_cpu_map *map) in tracecmd_map_get_guest() 166 struct tracecmd_cpu_map *tracecmd_get_cpu_map(struct tracecmd_input *handle, int cpu) in tracecmd_get_cpu_map()
|
D | trace-plugin.c | 28 struct tracecmd_input *trace_input; 74 struct tracecmd_input *
|
D | trace-blk-hack.c | 32 int tracecmd_blk_hack(struct tracecmd_input *handle) in tracecmd_blk_hack()
|
D | trace-filter.c | 121 struct tracecmd_filter *tracecmd_filter_add(struct tracecmd_input *handle, in tracecmd_filter_add()
|
/external/trace-cmd/tracecmd/ |
D | trace-attach.c | 159 static int entry_callback(struct tracecmd_input *handle, struct tep_event *event, in entry_callback() 167 static int exit_callback(struct tracecmd_input *handle, struct tep_event *event, in exit_callback() 198 struct tracecmd_input *guest_ihandle) in add_guest_to_host() 262 struct tracecmd_input *host_ihandle) in add_timeshift_to_guest() 359 struct tracecmd_input *host_ihandle) in add_tsc2nsec_to_guest() 385 static void map_cpus(struct tracecmd_input *handle) in map_cpus() 401 struct tracecmd_input *guest_ihandle; in trace_attach() 402 struct tracecmd_input *host_ihandle; in trace_attach()
|
D | trace-read.c | 52 struct tracecmd_input *handle; 157 static const char *time_format(struct tracecmd_input *handle, enum time_fmt tf) in time_format() 177 static void print_event(struct trace_seq *s, struct tracecmd_input *handle, in print_event() 200 static void show_test(struct tracecmd_input *handle) in show_test() 238 static void show_test(struct tracecmd_input *handle) in show_test() 280 static void show_test(struct tracecmd_input *handle) in show_test() 324 static void show_test(struct tracecmd_input *handle) in show_test() 361 static void add_handle(struct tracecmd_input *handle, struct input_files *input_files) in add_handle() 500 static void convert_comm_filter(struct tracecmd_input *handle) in convert_comm_filter() 537 static void make_pid_filter(struct tracecmd_input *handle, in make_pid_filter() [all …]
|
D | trace-split.c | 58 struct tracecmd_input *handle; 69 static struct tracecmd_input *get_handle(struct handle_list *item) in get_handle() 71 struct tracecmd_input *top_handle, *handle; in get_handle() 186 static int write_record(struct tracecmd_input *handle, in write_record() 285 static struct tep_record *read_record(struct tracecmd_input *handle, in read_record() 294 static void set_cpu_time(struct tracecmd_input *handle, in set_cpu_time() 307 static int parse_cpu(struct tracecmd_input *handle, in parse_cpu() 515 static unsigned long long parse_file(struct tracecmd_input *handle, in parse_file() 540 struct tracecmd_input *curr_handle; in parse_file() 684 struct tracecmd_input *handle; in trace_split()
|
D | trace-stream.c | 23 struct tracecmd_input * 29 struct tracecmd_input *trace_input; in trace_stream_init()
|
D | trace-convert.c | 17 struct tracecmd_input *ihandle; in convert_file()
|
D | trace-restore.c | 140 struct tracecmd_input *ihandle; in trace_restore()
|
/external/trace-cmd/tracecmd/include/ |
D | trace-local.h | 59 struct tracecmd_input *stream; 66 struct tracecmd_input *read_trace_header(const char *file, int flags); 137 void trace_init_profile(struct tracecmd_input *handle, struct hook_list *hooks, 142 struct tracecmd_input * 148 void trace_show_data(struct tracecmd_input *handle, struct tep_record *record); 277 struct tracecmd_input *handle;
|
/external/trace-cmd/utest/ |
D | tracecmd-utest.c | 448 static int read_events(struct tracecmd_input *handle, struct tep_record *record, in read_events() 468 static int read_events_10(struct tracecmd_input *handle, struct tep_record *record, in read_events_10() 479 struct tracecmd_input *handle; in test_trace_library_read() 506 struct tracecmd_input *handle; in test_trace_library_read_inc() 552 struct tracecmd_input *handle; in test_trace_library_read_back()
|