/tools/perf/tests/attr/ |
D | README | 35 perf record kill (test-record-basic) 36 perf record -b kill (test-record-branch-any) 37 perf record -j any kill (test-record-branch-filter-any) 38 perf record -j any_call kill (test-record-branch-filter-any_call) 39 perf record -j any_ret kill (test-record-branch-filter-any_ret) 40 perf record -j hv kill (test-record-branch-filter-hv) 41 perf record -j ind_call kill (test-record-branch-filter-ind_call) 42 perf record -j k kill (test-record-branch-filter-k) 43 perf record -j u kill (test-record-branch-filter-u) 44 perf record -c 123 kill (test-record-count) [all …]
|
D | test-record-group1 | 2 command = record 6 [event-1:base-record] 12 [event-2:base-record]
|
D | test-record-group | 2 command = record 6 [event-1:base-record] 12 [event-2:base-record]
|
D | test-record-group-sampling | 2 command = record 6 [event-1:base-record] 13 [event-2:base-record]
|
D | test-record-basic | 2 command = record 6 [event:base-record]
|
D | test-record-raw | 2 command = record 6 [event:base-record]
|
/tools/lib/traceevent/plugins/ |
D | plugin_hrtimer.c | 29 struct tep_record *record, in timer_expire_handler() argument 35 record, 0) == -1) in timer_expire_handler() 37 record, 1); in timer_expire_handler() 41 tep_print_num_field(s, "%llu", event, "now", record, 1); in timer_expire_handler() 44 record, 0); in timer_expire_handler() 49 struct tep_record *record, in timer_start_handler() argument 55 record, 0) == -1) in timer_start_handler() 57 record, 1); in timer_start_handler() 60 record, 0); in timer_start_handler() 63 tep_print_num_field(s, "%llu", event, "expires", record, 1); in timer_start_handler() [all …]
|
D | plugin_sched_switch.c | 49 struct tep_record *record, in write_and_save_comm() argument 55 comm = (char *)(record->data + field->offset); in write_and_save_comm() 69 struct tep_record *record, in sched_wakeup_handler() argument 75 if (tep_get_field_val(s, event, "pid", record, &val, 1)) in sched_wakeup_handler() 80 write_and_save_comm(field, record, s, val); in sched_wakeup_handler() 85 if (tep_get_field_val(s, event, "prio", record, &val, 0) == 0) in sched_wakeup_handler() 88 if (tep_get_field_val(s, event, "success", record, &val, 1) == 0) in sched_wakeup_handler() 91 if (tep_get_field_val(s, event, "target_cpu", record, &val, 0) == 0) in sched_wakeup_handler() 98 struct tep_record *record, in sched_switch_handler() argument 104 if (tep_get_field_val(s, event, "prev_pid", record, &val, 1)) in sched_switch_handler() [all …]
|
D | plugin_kvm.c | 251 static int print_exit_reason(struct trace_seq *s, struct tep_record *record, in print_exit_reason() argument 258 if (tep_get_field_val(s, event, field, record, &val, 1) < 0) in print_exit_reason() 261 if (tep_get_field_val(s, event, "isa", record, &isa, 0) < 0) in print_exit_reason() 272 static int kvm_exit_handler(struct trace_seq *s, struct tep_record *record, in kvm_exit_handler() argument 277 if (print_exit_reason(s, record, event, "exit_reason") < 0) in kvm_exit_handler() 280 tep_print_num_field(s, " rip 0x%lx", event, "guest_rip", record, 1); in kvm_exit_handler() 282 if (tep_get_field_val(s, event, "info1", record, &info1, 0) >= 0 in kvm_exit_handler() 283 && tep_get_field_val(s, event, "info2", record, &info2, 0) >= 0) in kvm_exit_handler() 295 struct tep_record *record, in kvm_emulate_insn_handler() argument 303 if (tep_get_field_val(s, event, "rip", record, &rip, 1) < 0) in kvm_emulate_insn_handler() [all …]
|
D | plugin_mac80211.c | 57 #define SF(fn) tep_print_num_field(s, fn ":%d", event, fn, record, 0) 58 #define SFX(fn) tep_print_num_field(s, fn ":%#x", event, fn, record, 0) 62 struct tep_record *record, in drv_bss_info_changed() argument 65 void *data = record->data; in drv_bss_info_changed() 70 tep_print_num_field(s, "(%d)", event, "vif_type", record, 1); in drv_bss_info_changed()
|
/tools/firmware/ |
D | ihex2fw.c | 54 static void file_record(struct ihex_binrec *record); 134 struct ihex_binrec *record; in process_ihex() local 162 record_size = ALIGN(sizeof(*record) + len, 4); in process_ihex() 163 record = malloc(record_size); in process_ihex() 164 if (!record) { in process_ihex() 168 memset(record, 0, record_size); in process_ihex() 169 record->len = len; in process_ihex() 172 if (i + 8 + (record->len * 2) > size) { in process_ihex() 178 record->addr = hex(data + i, &crc) << 8; i += 2; in process_ihex() 179 record->addr |= hex(data + i, &crc); i += 2; in process_ihex() [all …]
|
/tools/perf/ |
D | builtin-record.c | 75 struct record { struct 104 static bool switch_output_signal(struct record *rec) in switch_output_signal() argument 110 static bool switch_output_size(struct record *rec) in switch_output_size() 117 static bool switch_output_time(struct record *rec) in switch_output_time() 123 static int record__write(struct record *rec, struct mmap *map __maybe_unused, in record__write() 141 static int record__aio_enabled(struct record *rec); 142 static int record__comp_enabled(struct record *rec); 254 struct record *rec; 304 static int record__aio_push(struct record *rec, struct mmap *map, off_t *off) in record__aio_push() 351 static void record__aio_mmap_read_sync(struct record *rec) in record__aio_mmap_read_sync() [all …]
|
/tools/perf/Documentation/ |
D | jitdump-specification.txt | 29 …xed size header describing the type of record and its size. It is, itself, followed by the payload… 53 …ader is immediately followed by records. Each record starts with a fixed size header describing th… 55 The record header is specified in order as follows: 56 * uint32_t id : a value identifying the record type (see below) 57 * uint32_t total_size: the size in bytes of the record including the header. 58 * uint64_t timestamp : a timestamp of when the record was created. 60 The following record types are defined: 61 * Value 0 : JIT_CODE_LOAD : record describing a jitted function 62 * Value 1 : JIT_CODE_MOVE : record describing an already jitted function which is moved 63 * Value 2 : JIT_CODE_DEBUG_INFO: record describing the debug information for a jitted function [all …]
|
D | tips.txt | 2 Sample related events with: perf record -e '{cycles,instructions}:S' 7 Save output of perf stat using: perf stat record <target workload> 17 Profiling branch (mis)predictions with: perf record -b / perf report 18 To show assembler sample contexts use perf record -b / perf script -F +brstackinsn --xed 23 For memory address profiling, try: perf mem record / perf mem report 25 To record callchains for each sample: perf record -g 26 To record every process run by a user: perf record -u <user> 27 Skip collecting build-id when recording: perf record -B 28 To change sampling frequency to 100 Hz: perf record -F 100 33 System-wide collection from all CPUs: perf record -a [all …]
|
D | perf-timechart.txt | 11 'perf timechart' [<timechart options>] {record} [<record options>] 17 'perf timechart record <command>' to record the system level events 20 but it's possible to record IO (disk, network) activity using -I argument. 101 $ perf timechart record git pull 103 [ perf record: Woken up 13 times to write data ] 104 [ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ] 112 $ perf timechart record 120 $ perf timechart record -I 128 linkperf:perf-record[1]
|
/tools/lib/traceevent/Documentation/ |
D | libtraceevent-record_parse.txt | 7 Extract common fields from a record. 31 This set of functions can be used to extract common fields from a record. 33 The _tep_data_type()_ function gets the event id from the record _rec_. 37 The _tep_data_pid()_ function gets the process id from the record _rec_. 42 record _rec_. It reads the "common_preempt_count" field. The _tep_ argument is 45 The _tep_data_flags()_ function gets the latency flags from the record _rec_. 79 void process_record(struct tep_record *record) 83 data = tep_data_type(tep, record); 88 data = tep_data_pid(tep, record); 93 data = tep_data_preempt_count(tep, record); [all …]
|
D | libtraceevent-field_find.txt | 23 returned can be used to find the field content from within a data record. 46 void get_htimer_info(struct tep_handle *tep, struct tep_record *record) 60 /* Get pid from the data record */ 61 pid = tep_read_number(tep, record->data + field->offset, 69 /* Get softexpires parameter from the data record */ 70 softexpires = tep_read_number(tep, record->data + field->offset, 79 /* Get mode parameter from the data record */ 80 mode = tep_read_number(tep, record->data + field->offset,
|
/tools/bpf/bpftool/ |
D | xlated_dumper.c | 215 struct bpf_func_info *record; in dump_xlated_json() local 224 record = dd->func_info; in dump_xlated_json() 234 if (btf && record) { in dump_xlated_json() 235 if (record->insn_off == i) { in dump_xlated_json() 236 btf_dumper_type_only(btf, record->type_id, in dump_xlated_json() 243 record = (void *)record + dd->finfo_rec_size; in dump_xlated_json() 300 struct bpf_func_info *record; in dump_xlated_plain() local 308 record = dd->func_info; in dump_xlated_plain() 315 if (btf && record) { in dump_xlated_plain() 316 if (record->insn_off == i) { in dump_xlated_plain() [all …]
|
/tools/perf/util/ |
D | trace-event-parse.c | 103 struct tep_record record; in event_format__fprintf() local 106 memset(&record, 0, sizeof(record)); in event_format__fprintf() 107 record.cpu = cpu; in event_format__fprintf() 108 record.size = size; in event_format__fprintf() 109 record.data = data; in event_format__fprintf() 112 tep_print_event(event->tep, &s, &record, "%s", TEP_PRINT_INFO); in event_format__fprintf()
|
D | zstd.c | 59 size_t process_header(void *record, size_t increment)) in zstd_compress_stream_to_records() argument 64 void *record; in zstd_compress_stream_to_records() local 67 record = dst; in zstd_compress_stream_to_records() 68 size = process_header(record, 0); in zstd_compress_stream_to_records() 83 size = process_header(record, size); in zstd_compress_stream_to_records()
|
/tools/perf/scripts/python/bin/ |
D | syscall-counts-by-pid-record | 2 (perf record -e raw_syscalls:sys_enter $@ || \ 3 perf record -e syscalls:sys_enter $@) 2> /dev/null
|
D | syscall-counts-record | 2 (perf record -e raw_syscalls:sys_enter $@ || \ 3 perf record -e syscalls:sys_enter $@) 2> /dev/null
|
D | sctop-record | 2 (perf record -e raw_syscalls:sys_enter $@ || \ 3 perf record -e syscalls:sys_enter $@) 2> /dev/null
|
D | failed-syscalls-by-pid-record | 2 (perf record -e raw_syscalls:sys_exit $@ || \ 3 perf record -e syscalls:sys_exit $@) 2> /dev/null
|
/tools/perf/scripts/perl/bin/ |
D | failed-syscalls-record | 2 (perf record -e raw_syscalls:sys_exit $@ || \ 3 perf record -e syscalls:sys_exit $@) 2> /dev/null
|