Home
last modified time | relevance | path

Searched refs:record (Results 1 – 25 of 90) sorted by relevance

1234

/tools/perf/tests/attr/
DREADME35 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 …]
Dtest-record-group12 command = record
5 [event-1:base-record]
11 [event-2:base-record]
Dtest-record-group2 command = record
5 [event-1:base-record]
11 [event-2:base-record]
Dtest-record-group-sampling2 command = record
5 [event-1:base-record]
12 [event-2:base-record]
Dtest-record-basic2 command = record
5 [event:base-record]
Dtest-record-graph-default2 command = record
5 [event:base-record]
Dtest-record-no-samples2 command = record
5 [event:base-record]
Dtest-record-freq2 command = record
5 [event:base-record]
Dtest-record-raw2 command = record
5 [event:base-record]
Dtest-record-no-inherit2 command = record
5 [event:base-record]
Dtest-record-branch-any2 command = record
5 [event:base-record]
/tools/lib/traceevent/
Dplugin_hrtimer.c28 struct pevent_record *record, in timer_expire_handler() argument
34 record, 0) == -1) in timer_expire_handler()
36 record, 1); in timer_expire_handler()
40 pevent_print_num_field(s, "%llu", event, "now", record, 1); in timer_expire_handler()
43 record, 0); in timer_expire_handler()
48 struct pevent_record *record, in timer_start_handler() argument
54 record, 0) == -1) in timer_start_handler()
56 record, 1); in timer_start_handler()
59 record, 0); in timer_start_handler()
62 pevent_print_num_field(s, "%llu", event, "expires", record, 1); in timer_start_handler()
[all …]
Dplugin_sched_switch.c48 struct pevent_record *record, in write_and_save_comm() argument
54 comm = (char *)(record->data + field->offset); in write_and_save_comm()
68 struct pevent_record *record, in sched_wakeup_handler() argument
74 if (pevent_get_field_val(s, event, "pid", record, &val, 1)) in sched_wakeup_handler()
79 write_and_save_comm(field, record, s, val); in sched_wakeup_handler()
84 if (pevent_get_field_val(s, event, "prio", record, &val, 0) == 0) in sched_wakeup_handler()
87 if (pevent_get_field_val(s, event, "success", record, &val, 1) == 0) in sched_wakeup_handler()
90 if (pevent_get_field_val(s, event, "target_cpu", record, &val, 0) == 0) in sched_wakeup_handler()
97 struct pevent_record *record, in sched_switch_handler() argument
103 if (pevent_get_field_val(s, event, "prev_pid", record, &val, 1)) in sched_switch_handler()
[all …]
Dplugin_kvm.c250 static int print_exit_reason(struct trace_seq *s, struct pevent_record *record, in print_exit_reason() argument
257 if (pevent_get_field_val(s, event, field, record, &val, 1) < 0) in print_exit_reason()
260 if (pevent_get_field_val(s, event, "isa", record, &isa, 0) < 0) in print_exit_reason()
271 static int kvm_exit_handler(struct trace_seq *s, struct pevent_record *record, in kvm_exit_handler() argument
276 if (print_exit_reason(s, record, event, "exit_reason") < 0) in kvm_exit_handler()
279 pevent_print_num_field(s, " rip 0x%lx", event, "guest_rip", record, 1); in kvm_exit_handler()
281 if (pevent_get_field_val(s, event, "info1", record, &info1, 0) >= 0 in kvm_exit_handler()
282 && pevent_get_field_val(s, event, "info2", record, &info2, 0) >= 0) in kvm_exit_handler()
294 struct pevent_record *record, in kvm_emulate_insn_handler() argument
302 if (pevent_get_field_val(s, event, "rip", record, &rip, 1) < 0) in kvm_emulate_insn_handler()
[all …]
Dplugin_mac80211.c56 #define SF(fn) pevent_print_num_field(s, fn ":%d", event, fn, record, 0)
57 #define SFX(fn) pevent_print_num_field(s, fn ":%#x", event, fn, record, 0)
61 struct pevent_record *record, in drv_bss_info_changed() argument
64 void *data = record->data; in drv_bss_info_changed()
69 pevent_print_num_field(s, "(%d)", event, "vif_type", record, 1); in drv_bss_info_changed()
/tools/perf/
Dbuiltin-record.c41 struct record { struct
56 static int record__write(struct record *rec, void *bf, size_t size) in record__write() argument
72 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event()
76 static int record__mmap_read(struct record *rec, int idx) in record__mmap_read()
151 struct record *rec = container_of(tool, struct record, tool); in record__process_auxtrace()
184 static int record__auxtrace_mmap_read(struct record *rec, in record__auxtrace_mmap_read()
200 static int record__auxtrace_mmap_read_snapshot(struct record *rec, in record__auxtrace_mmap_read_snapshot()
217 static int record__auxtrace_read_snapshot_all(struct record *rec) in record__auxtrace_read_snapshot_all()
238 static void record__read_auxtrace_snapshot(struct record *rec) in record__read_auxtrace_snapshot()
253 int record__auxtrace_mmap_read(struct record *rec __maybe_unused, in record__auxtrace_mmap_read()
[all …]
/tools/perf/Documentation/
Dperf-mem.txt11 'perf mem' [<options>] (record [<command>] | report)
15 "perf mem record" runs a command and gathers memory operation data
16 from it, into perf.data. Perf record options are accepted and are passed through.
48 option can be passed in record mode. It will be interpreted the same way as perf
49 record.
53 linkperf:perf-record[1], linkperf:perf-report[1]
Dperf-timechart.txt11 '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.
99 $ perf timechart record git pull
101 [ perf record: Woken up 13 times to write data ]
102 [ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ]
110 $ perf timechart record
118 $ perf timechart record -I
126 linkperf:perf-record[1]
Dperf-sched.txt11 'perf sched' {record|latency|map|replay|script}
17 'perf sched record <command>' to record the scheduling events
27 via perf sched record. (this is done by starting up mockup threads
34 workload captured via perf sched record. Columns stand for
55 linkperf:perf-record[1]
/tools/perf/util/
Dtrace-event-parse.c118 struct pevent_record record; in event_format__fprintf() local
121 memset(&record, 0, sizeof(record)); in event_format__fprintf()
122 record.cpu = cpu; in event_format__fprintf()
123 record.size = size; in event_format__fprintf()
124 record.data = data; in event_format__fprintf()
127 pevent_event_info(&s, event, &record); in event_format__fprintf()
/tools/perf/scripts/perl/bin/
Dfailed-syscalls-record2 (perf record -e raw_syscalls:sys_exit $@ || \
3 perf record -e syscalls:sys_exit $@) 2> /dev/null
/tools/perf/scripts/python/bin/
Dsyscall-counts-record2 (perf record -e raw_syscalls:sys_enter $@ || \
3 perf record -e syscalls:sys_enter $@) 2> /dev/null
Dfailed-syscalls-by-pid-record2 (perf record -e raw_syscalls:sys_exit $@ || \
3 perf record -e syscalls:sys_exit $@) 2> /dev/null
Dsctop-record2 (perf record -e raw_syscalls:sys_enter $@ || \
3 perf record -e syscalls:sys_enter $@) 2> /dev/null
Dsyscall-counts-by-pid-record2 (perf record -e raw_syscalls:sys_enter $@ || \
3 perf record -e syscalls:sys_enter $@) 2> /dev/null

1234