| /tools/perf/tests/shell/attr/ |
| A D | README | 35 perf record kill (test-record-basic) 36 perf record -b kill (test-record-branch-any) 44 perf record -c 123 kill (test-record-count) 45 perf record -d kill (test-record-data) 46 perf record -F 100 kill (test-record-freq) 49 perf record --call-graph dwarf kill (test-record-graph-dwarf) 50 perf record --call-graph fp kill (test-record-graph-fp) 52 perf record -e '{cycles,instructions}' kill (test-record-group1) 56 perf record -D kill (test-record-no-delay) 59 perf record -c 100 -P kill (test-record-period) [all …]
|
| A D | test-record-spe-period | 2 command = record 7 [event-10:base-record-spe] 12 [event-1:base-record-spe]
|
| A D | test-record-spe-period-term | 2 command = record 7 [event-10:base-record-spe] 12 [event-1:base-record-spe]
|
| A D | test-record-group1 | 2 command = record 6 [event-1:base-record] 12 [event-2:base-record]
|
| A D | test-record-spe-physical-address | 2 command = record 7 [event-10:base-record-spe] 12 [event-1:base-record-spe]
|
| A D | test-record-group2 | 2 command = record 7 [event-1:base-record] 17 [event-2:base-record]
|
| A D | test-record-group3 | 2 command = record 7 [event-1:base-record] 18 [event-2:base-record]
|
| A D | test-record-group-sampling | 2 command = record 7 [event-1:base-record] 14 [event-2:base-record]
|
| /tools/perf/util/arm-spe-decoder/ |
| A D | arm-spe-decoder.c | 158 memset(&decoder->record, 0x0, sizeof(decoder->record)); in arm_spe_read_record() 159 decoder->record.context_id = (u64)-1; in arm_spe_read_record() 171 decoder->record.timestamp = payload; in arm_spe_read_record() 178 decoder->record.from_ip = ip; in arm_spe_read_record() 180 decoder->record.to_ip = ip; in arm_spe_read_record() 182 decoder->record.virt_addr = ip; in arm_spe_read_record() 184 decoder->record.phys_addr = ip; in arm_spe_read_record() 186 decoder->record.prev_br_tgt = ip; in arm_spe_read_record() 190 decoder->record.latency = payload; in arm_spe_read_record() 193 decoder->record.context_id = payload; in arm_spe_read_record() [all …]
|
| /tools/firmware/ |
| A D | ihex2fw.c | 164 if (!record) { in process_ihex() 169 record->len = len; in process_ihex() 197 if (!record->len) in process_ihex() 201 file_record(record); in process_ihex() 205 if (record->addr || record->len) { in process_ihex() 214 if (record->addr || record->len != 2) { in process_ihex() 222 offset = record->data[0] << 8 | record->data[1]; in process_ihex() 228 if (record->addr || record->len != 4) { in process_ihex() 241 file_record(record); in process_ihex() 261 record->next = *p; in file_record() [all …]
|
| /tools/perf/tests/shell/ |
| A D | amd-ibs-swfilt.sh | 21 perf record -B -e ibs_op//u -o /dev/null true 2> /dev/null 28 perf record -B -e ibs_op/swfilt/u -o /dev/null true 35 perf record -B -e ibs_op/swfilt=1/k -o /dev/null true 42 perf record -B -e ibs_fetch/swfilt/u -o /dev/null true 49 perf record -aB --synth=no -e ibs_op/swfilt/k -o /dev/null true 57 kernel_sample=$(perf record -e ibs_op/swfilt/u -o- true | perf script -i- -F misc | grep -c ^K) 63 user_sample=$(perf record -e ibs_fetch/swfilt/k -o- true | perf script -i- -F misc | grep -c ^U)
|
| A D | record.sh | 55 if ! perf record -o /dev/null --quiet ${testprog} 2> /dev/null 60 if ! perf record --per-thread -o "${perfdata}" ${testprog} 2> /dev/null 125 if ! perf record -aB --synth=no -o "${perfdata}" ${testprog} 2> /dev/null 136 if ! perf record -aB --synth=no -e cpu-clock,cs --threads=cpu \ 154 if ! perf record -o "${perfdata}" ${testprog} 2> /dev/null 166 if ! perf record -e cpu-clock,cs --threads=package \ 263 if ! perf record -o "${perfdata}" -e "{cycles,cycles}:Su" -- \ 330 if perf record -o "${perfdata}" -e "cycles" true 2> /dev/null 332 if ! perf record -o "${perfdata}" -e "cycles:P" true 2> /dev/null 343 if perf record -o "${perfdata}" -e "instructions" true 2> /dev/null [all …]
|
| A D | record_bpf_filter.sh | 25 if ! perf record -e task-clock --filter 'period > 1' \ 44 if ! perf record -e task-clock -c 10000 --filter 'ip < 0xffffffff00000000' \ 70 if ! perf record -e task-clock --filter 'cpu > 0' \ 78 if ! perf record --sample-cpu -e task-clock --filter 'cpu > 0' \ 92 if ! perf record -e task-clock --filter 'period > 1000, ip > 0' \ 100 if ! perf record -e task-clock --filter 'period > 1000 , cpu > 0 || ip > 0' \ 108 if ! perf record -e task-clock --filter 'period > 0 || code_pgsz > 4096' \ 122 if ! perf record -e task-clock --filter 'period > 100000' \ 153 if ! perf record -e task-clock --filter 'cgroup == /' \ 161 if ! perf record -e task-clock --filter 'cgroup == /' \
|
| A D | pipe_test.sh | 42 if ! perf record -e task-clock:u -o - ${prog} | perf report -i - --task | grep -q ${task} 49 if ! perf record -g -e task-clock:u -o - ${prog} | perf report -i - --task | grep -q ${task} 56 perf record -g -e task-clock:u -o - ${prog} > ${data} 73 …if ! perf record -e task-clock:u -o - ${prog} | perf inject ${inject_opt}| perf report -i - | grep… 80 …if ! perf record -g -e task-clock:u -o - ${prog} | perf inject ${inject_opt} | perf report -i - | … 87 perf record -e task-clock:u -o - ${prog} | perf inject ${inject_opt} -o ${data} 94 perf record -e task-clock:u -o ${data} ${prog} 101 perf record -e task-clock:u -o - ${prog} > ${data} 108 perf record -e task-clock:u -o - ${prog} > ${data}
|
| /tools/tracing/rtla/src/ |
| A D | timerlat_aa.c | 147 struct trace_seq *s, struct tep_record *record, in timerlat_aa_irq_latency() argument 155 taa_data->tlat_irq_timstamp = record->ts; in timerlat_aa_irq_latency() 215 struct trace_seq *s, struct tep_record *record, in timerlat_aa_thread_latency() argument 223 taa_data->tlat_thread_timstamp = record->ts; in timerlat_aa_thread_latency() 249 tep_get_field_val(s, event, "context", record, &thread, 1); in timerlat_aa_handler() 271 tep_get_field_val(s, event, "start", record, &start, 1); in timerlat_aa_nmi_handler() 318 tep_get_field_val(s, event, "start", record, &start, 1); in timerlat_aa_irq_handler() 319 tep_get_field_val(s, event, "vector", record, &vector, 1); in timerlat_aa_irq_handler() 414 tep_get_field_val(s, event, "start", record, &start, 1); in timerlat_aa_softirq_handler() 415 tep_get_field_val(s, event, "vector", record, &vector, 1); in timerlat_aa_softirq_handler() [all …]
|
| A D | osnoise_top.c | 84 int cpu = record->cpu; in osnoise_top_handler() 93 tep_get_field_val(s, event, "runtime", record, &val, 1); in osnoise_top_handler() 96 tep_get_field_val(s, event, "noise", record, &val, 1); in osnoise_top_handler() 595 struct osnoise_tool *record = NULL; in osnoise_top_main() local 642 record = osnoise_init_trace_tool("osnoise"); in osnoise_top_main() 643 if (!record) { in osnoise_top_main() 669 trace_instance_start(&record->trace); in osnoise_top_main() 711 if (osnoise_trace_is_off(tool, record)) in osnoise_top_main() 720 if (osnoise_trace_is_off(tool, record)) { in osnoise_top_main() 722 save_trace_to_file(record ? record->trace.inst : NULL, in osnoise_top_main() [all …]
|
| /tools/perf/Documentation/ |
| A D | jitdump-specification.txt | 67 The payload of the record must immediately follow the record header without padding. 69 V/ JIT_CODE_LOAD record 72 The record has the following fields following the fixed-size record header in order: 83 * record header 94 VI/ JIT_CODE_MOVE record 98 The record has the following fields following the fixed-size record header in order: 115 VII/ JIT_DEBUG_INFO record 117 The record type is optional. 121 The record has the following fields following the fixed-size record header in order: 139 VIII/ JIT_CODE_CLOSE record [all …]
|
| A D | tips.txt | 2 Sample related events with: perf record -e '{cycles,instructions}:S' 8 Save output of perf stat using: perf stat record <target workload> 19 Profiling branch (mis)predictions with: perf record -b / perf report 29 To record callchains for each sample: perf record -g 31 To record every process run by a user: perf record -u <user> 33 To not record events from perf itself add --exclude-perf 34 Skip collecting build-id when recording: perf record -B 35 To change sampling frequency to 100 Hz: perf record -F 100 46 System-wide collection from all CPUs: perf record -a 62 To show time in nanoseconds in record/report add --ns [all …]
|
| A D | perf-daemon.txt | 7 perf-daemon - Run record sessions on background 24 monitors configured record sessions. 27 'perf record' child tasks, like: 106 Defines new record session. The value is record's command 107 line without the 'record' keyword. 114 Example with 2 record sessions: 183 [ perf record: dump data: Woken up 1 times ] 184 [ perf record: Dump perf.data.2020123017013149 ] 194 [ perf record: dump data: Woken up 1 times ] 197 [ perf record: dump data: Woken up 1 times ] [all …]
|
| A D | perf-kmem.txt | 11 'perf kmem' [<options>] {record|stat} 17 'perf kmem [<options>] record [<perf-record-options>] <command>' to 18 record the kmem events of an arbitrary workload. Additional 'perf 19 record' options may be specified after record, such as '-o' to 80 linkperf:perf-record[1]
|
| A 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/perf/util/ |
| A D | arm-spe.c | 346 struct arm_spe_record *record = &speq->decoder->record; in arm_spe_prep_sample() local 367 struct arm_spe_record *record = &speq->decoder->record; in arm_spe__prep_branch_stack() local 477 struct arm_spe_record *record = &speq->decoder->record; in arm_spe__synth_mem_sample() local 501 struct arm_spe_record *record = &speq->decoder->record; in arm_spe__synth_branch_sample() local 525 struct arm_spe_record *record = &speq->decoder->record; in arm_spe__synth_instruction_sample() local 581 const struct arm_spe_record *record = &speq->decoder->record; in arm_spe__sample_flags() local 718 record->source); in arm_spe__synth_data_source_ampereone() 927 const struct arm_spe_record *record = &speq->decoder->record; in arm_spe_sample() local 1053 record = &speq->decoder->record; in arm_spe_run_decoder() 1079 record = &speq->decoder->record; in arm_spe_run_decoder() [all …]
|
| /tools/perf/ |
| A D | builtin-record.c | 115 struct record *rec; 154 struct record { struct 631 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event() 740 struct record *rec = container_of(tool, struct record, tool); in record__process_auxtrace() 1459 struct record *rec = container_of(tool, struct record, tool); in process_sample_event() 3045 struct record *rec = (struct record *)opt->value; in record__parse_event_enable_time() 3370 struct record *rec = container_of(tool, struct record, tool); in process_timestamp_boundary() 3406 static struct record record = { variable 4062 struct record *rec = &record; in cmd_record() 4390 struct record *rec = &record; in snapshot_sig_handler() [all …]
|
| /tools/bpf/bpftool/ |
| A D | xlated_dumper.c | 228 struct bpf_func_info *record; in dump_xlated_json() local 237 record = dd->func_info; in dump_xlated_json() 247 if (btf && record) { in dump_xlated_json() 248 if (record->insn_off == i) { in dump_xlated_json() 256 record = (void *)record + dd->finfo_rec_size; in dump_xlated_json() 313 struct bpf_func_info *record; in dump_xlated_plain() local 321 record = dd->func_info; in dump_xlated_plain() 328 if (btf && record) { in dump_xlated_plain() 335 record = (void *)record + dd->finfo_rec_size; in dump_xlated_plain() 397 if (btf && record) { in dump_xlated_for_graph() [all …]
|
| /tools/perf/scripts/perl/bin/ |
| A D | failed-syscalls-record | 2 (perf record -e raw_syscalls:sys_exit $@ || \ 3 perf record -e syscalls:sys_exit $@) 2> /dev/null
|