/tools/perf/ |
D | builtin-kmem.c | 132 struct alloc_stat *data = NULL; in insert_alloc_stat() local 136 data = rb_entry(*node, struct alloc_stat, node); in insert_alloc_stat() 138 if (ptr > data->ptr) in insert_alloc_stat() 140 else if (ptr < data->ptr) in insert_alloc_stat() 146 if (data && data->ptr == ptr) { in insert_alloc_stat() 147 data->hit++; in insert_alloc_stat() 148 data->bytes_req += bytes_req; in insert_alloc_stat() 149 data->bytes_alloc += bytes_alloc; in insert_alloc_stat() 151 data = malloc(sizeof(*data)); in insert_alloc_stat() 152 if (!data) { in insert_alloc_stat() [all …]
|
/tools/perf/tests/ |
D | dso-data.c | 54 u8 data[10]; member 62 .data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, 68 .data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, 74 .data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, 80 .data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, 86 .data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, 92 .data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, 98 .data = { 7, 8, 9, 0, 0, 0, 0, 0, 0, 0 }, 118 struct test_data_offset *data = &offsets[i]; in test__dso_data() local 123 size = dso__data_read_offset(dso, &machine, data->offset, in test__dso_data() [all …]
|
/tools/perf/util/ |
D | parse-events.y | 26 struct parse_events_evlist *data) in inc_group_count() argument 30 data->nr_groups++; in inc_group_count() 89 struct parse_events_evlist *data = _data; variable 91 parse_events_update_lists($1, &data->list); 198 struct parse_events_evlist *data = _data; variable 201 ABORT_ON(parse_events_add_pmu(&list, &data->idx, $1, $3)); 214 struct parse_events_evlist *data = _data; variable 219 ABORT_ON(parse_events_add_numeric(&list, &data->idx, 227 struct parse_events_evlist *data = _data; variable 232 ABORT_ON(parse_events_add_numeric(&list, &data->idx, [all …]
|
D | dwarf-aux.c | 99 static int __die_find_inline_cb(Dwarf_Die *die_mem, void *data); 112 int (*callback)(Dwarf_Die *, void *), void *data) in cu_walk_functions_at() argument 123 ret = callback(sc_die, data); in cu_walk_functions_at() 360 void *data, Dwarf_Die *die_mem) in die_find_child() argument 370 ret = callback(die_mem, data); in die_find_child() 375 die_find_child(die_mem, callback, data, &child_die)) { in die_find_child() 391 static int __die_search_func_cb(Dwarf_Die *fn_die, void *data) in __die_search_func_cb() argument 393 struct __addr_die_search_param *ad = data; in __die_search_func_cb() 426 static int __die_find_inline_cb(Dwarf_Die *die_mem, void *data) in __die_find_inline_cb() argument 428 Dwarf_Addr *addr = data; in __die_find_inline_cb() [all …]
|
D | trace-event-parse.c | 115 raw_field_value(struct event_format *event, const char *name, void *data) in raw_field_value() argument 124 pevent_read_number_field(field, data, &val); in raw_field_value() 129 void *raw_field_ptr(struct event_format *event, const char *name, void *data) in raw_field_ptr() argument 140 offset = *(int *)(data + field->offset); in raw_field_ptr() 143 return data + offset; in raw_field_ptr() 146 return data + field->offset; in raw_field_ptr() 149 int trace_parse_common_type(struct pevent *pevent, void *data) in trace_parse_common_type() argument 153 record.data = data; in trace_parse_common_type() 157 int trace_parse_common_pid(struct pevent *pevent, void *data) in trace_parse_common_pid() argument 161 record.data = data; in trace_parse_common_pid() [all …]
|
D | dwarf-aux.h | 39 int (*callback)(Dwarf_Die *, void *), void *data); 73 void *data, Dwarf_Die *die_mem); 85 int (*callback)(Dwarf_Die *, void *), void *data); 89 Dwarf_Addr addr, void *data); 96 void *data);
|
D | config.c | 126 static int get_value(config_fn_t fn, void *data, char *name, unsigned int len) in get_value() argument 154 return fn(name, value, data); in get_value() 213 static int perf_parse_file(config_fn_t fn, void *data) in perf_parse_file() argument 263 if (get_value(fn, data, var, baselen+1) < 0) in perf_parse_file() 362 static int perf_config_from_file(config_fn_t fn, const char *filename, void *data) in perf_config_from_file() argument 373 ret = perf_parse_file(fn, data); in perf_config_from_file() 404 int perf_config(config_fn_t fn, void *data) in perf_config() argument 411 return perf_config_from_file(fn, config_exclusive_filename, data); in perf_config() 414 data); in perf_config() 441 ret += perf_config_from_file(fn, user_config, data); in perf_config() [all …]
|
D | trace-event.h | 34 int cpu, void *data, int size); 43 raw_field_value(struct event_format *event, const char *name, void *data); 44 void *raw_field_ptr(struct event_format *event, const char *name, void *data); 51 int trace_parse_common_type(struct pevent *pevent, void *data); 52 int trace_parse_common_pid(struct pevent *pevent, void *data);
|
D | evsel.c | 1009 struct perf_sample *data) in perf_evsel__parse_sample() argument 1022 memset(data, 0, sizeof(*data)); in perf_evsel__parse_sample() 1023 data->cpu = data->pid = data->tid = -1; in perf_evsel__parse_sample() 1024 data->stream_id = data->id = data->time = -1ULL; in perf_evsel__parse_sample() 1025 data->period = 1; in perf_evsel__parse_sample() 1026 data->weight = 0; in perf_evsel__parse_sample() 1031 return perf_evsel__parse_id_sample(evsel, event, data); in perf_evsel__parse_sample() 1040 data->ip = event->ip.ip; in perf_evsel__parse_sample() 1053 data->pid = u.val32[0]; in perf_evsel__parse_sample() 1054 data->tid = u.val32[1]; in perf_evsel__parse_sample() [all …]
|
D | trace-event-read.c | 75 static int do_read(void *data, int size) in do_read() argument 79 r = __do_read(input_fd, data, size); in do_read() 106 unsigned int data; in read4() local 108 if (do_read(&data, 4) < 0) in read4() 110 return __data2host4(pevent, data); in read4() 115 unsigned long long data; in read8() local 117 if (do_read(&data, 8) < 0) in read8() 119 return __data2host8(pevent, data); in read8()
|
D | unwind.c | 222 char data[0]; member 231 u8 *end = (u8 *) &hdr.data; in unwind_spec_ehframe() 346 unw_word_t *data) in access_dso_mem() argument 362 addr, (u8 *) data, sizeof(*data)); in access_dso_mem() 364 return !(size == sizeof(*data)); in access_dso_mem() 423 *valp = *(unw_word_t *)&stack->data[offset]; in access_mem() 548 u64 sample_uregs, struct perf_sample *data) in unwind__get_entries() argument 552 .sample = data, in unwind__get_entries() 559 if (!data->user_regs.regs) in unwind__get_entries() 562 ret = reg_value(&ip, &data->user_regs, PERF_REG_IP, sample_uregs); in unwind__get_entries()
|
D | unwind.h | 21 struct perf_sample *data); 30 struct perf_sample *data __maybe_unused) in unwind__get_entries()
|
/tools/perf/Documentation/ |
D | perf-diff.txt | 6 perf-diff - Read two perf.data files and display the differential profile 15 This command displays the performance difference amongst two perf.data files 18 If no parameters are passed it will assume perf.data.old and perf.data. 21 specified perf.data files. 100 (or perf.data/perf.data.old) respectively. 103 single data file 113 (or perf.data/perf.data.old) respectively. 124 (or perf.data/perf.data.old) respectively.
|
D | perf-evlist.txt | 6 perf-evlist - List the event names in a perf.data file 15 This command displays the names of events sampled in a perf.data file. 21 Input file name. (default: perf.data unless stdin is a fifo)
|
D | perf-lock.txt | 20 produces the file "perf.data" which contains tracing 23 'perf lock report' reports statistical data. 35 Input file name. (default: perf.data unless stdin is a fifo) 58 dump thread list in perf.data
|
D | perf-kvm.txt | 26 of an arbitrary workload and save it into a perf data file. If both 27 --host and --guest are input, the perf data file name is perf.data.kvm. 28 If there is no --host but --guest, the file name is perf.data.guest. 29 If there is no --guest but --host, the file name is perf.data.host. 34 'perf kvm diff' to displays the performance difference amongst two perf.data 37 'perf kvm buildid-list' to display the buildids found in a perf data file, 50 'perf kvm stat report' reports statistical data which includes events
|
D | perf-buildid-list.txt | 6 perf-buildid-list - List the buildids in a perf.data file 15 This command displays the buildids found in a perf.data file, so that other 29 Input file name. (default: perf.data unless stdin is a fifo)
|
/tools/firewire/ |
D | nosy-dump.c | 46 static void print_packet(uint32_t *data, size_t length); 147 subaction_create(uint32_t *data, size_t length) in subaction_create() argument 155 sa->ack = data[length / 4 - 1]; in subaction_create() 157 memcpy(&sa->packet, data, length); in subaction_create() 495 handle_request_packet(uint32_t *data, size_t length) in handle_request_packet() argument 497 struct link_packet *p = (struct link_packet *) data; in handle_request_packet() 503 sa = subaction_create(data, length); in handle_request_packet() 560 handle_response_packet(uint32_t *data, size_t length) in handle_response_packet() argument 562 struct link_packet *p = (struct link_packet *) data; in handle_response_packet() 572 sa = subaction_create(data, length); in handle_response_packet() [all …]
|
D | nosy-dump.h | 99 uint32_t data; member 115 uint32_t data[0]; member 121 uint32_t data; member 130 uint32_t data[0]; member 141 uint32_t data; member
|
/tools/lib/traceevent/ |
D | event-parse.h | 47 void *data; member 459 __data2host2(struct pevent *pevent, unsigned short data) in __data2host2() argument 464 return data; in __data2host2() 466 swap = ((data & 0xffULL) << 8) | in __data2host2() 467 ((data & (0xffULL << 8)) >> 8); in __data2host2() 473 __data2host4(struct pevent *pevent, unsigned int data) in __data2host4() argument 478 return data; in __data2host4() 480 swap = ((data & 0xffULL) << 24) | in __data2host4() 481 ((data & (0xffULL << 8)) << 8) | in __data2host4() 482 ((data & (0xffULL << 16)) >> 8) | in __data2host4() [all …]
|
D | parse-utils.c | 123 void *data; in malloc_or_die() local 125 data = malloc(size); in malloc_or_die() 126 if (!data) in malloc_or_die() 128 return data; in malloc_or_die()
|
D | event-parse.c | 94 process_defined_func(struct trace_seq *s, void *data, int size, 3061 int pevent_read_number_field(struct format_field *field, const void *data, in pevent_read_number_field() argument 3072 data + field->offset, field->size); in pevent_read_number_field() 3105 static int __parse_common(struct pevent *pevent, void *data, in __parse_common() argument 3115 return pevent_read_number(pevent, data + *offset, *size); in __parse_common() 3118 static int trace_parse_common_type(struct pevent *pevent, void *data) in trace_parse_common_type() argument 3120 return __parse_common(pevent, data, in trace_parse_common_type() 3125 static int parse_common_pid(struct pevent *pevent, void *data) in parse_common_pid() argument 3127 return __parse_common(pevent, data, in parse_common_pid() 3132 static int parse_common_pc(struct pevent *pevent, void *data) in parse_common_pc() argument [all …]
|
/tools/virtio/virtio-trace/ |
D | README | 4 Trace agent is a user tool for sending trace data of a guest to a Host in low 8 - write trace data to stdout by using -o option 18 5) The read/write threads start to read trace data from ring-buffers and 19 write the data to virtio-serial. 21 stop to read trace data. 42 virtio-trace uses virtio-serial pipe as trace data paths as to the number 62 ##data path## 104 option, trace data are output via stdout in the guest. 108 If a host does not open these, trace data get stuck in buffers of virtio. Then, 112 4) Start to read trace data by ordering from a host [all …]
|
/tools/perf/scripts/python/ |
D | sched-migration.py | 228 self.data = arg 231 if len(self.data) == 0: 234 slice = self.data[-1].next(ts) 239 end = len(self.data) 247 if self.data[i].start <= ts and self.data[i].end >= ts: 252 if self.data[i].end < ts: 255 elif self.data[i].start > ts: 303 for i in xrange(i, len(self.data)): 304 timeslice = self.data[i] 312 if len(self.data) == 0: [all …]
|
/tools/virtio/linux/ |
D | virtio.h | 56 void *data, 61 void *data, 66 void *data,
|