/linux/tools/perf/arch/x86/util/ |
H A D | kvm-stat.c | 33 key->key = evsel__intval(evsel, sample, "gpa"); in mmio_event_get_key() 34 key->info = evsel__intval(evsel, sample, "type"); in mmio_event_get_key() 50 evsel__intval(evsel, sample, "type") == KVM_TRACE_MMIO_WRITE) { in mmio_event_begin() 67 evsel__intval(evsel, sample, "type") == KVM_TRACE_MMIO_READ) { in mmio_event_end() 96 key->key = evsel__intval(evsel, sample, "port"); in ioport_event_get_key() 97 key->info = evsel__intval(evsel, sample, "rw"); in ioport_event_get_key() 140 key->key = evsel__intval(evsel, sample, "ecx"); in msr_event_get_key() 141 key->info = evsel__intval(evsel, sample, "write"); in msr_event_get_key()
|
/linux/tools/perf/arch/s390/util/ |
H A D | kvm-stat.c | 32 insn = evsel__intval(evsel, sample, "instruction"); in event_icpt_insn_get_key() 41 key->key = evsel__intval(evsel, sample, "order_code"); in event_sigp_get_key() 49 key->key = evsel__intval(evsel, sample, "code"); in event_diag_get_key() 57 key->key = evsel__intval(evsel, sample, "code"); in event_icpt_prog_get_key()
|
/linux/tools/perf/ |
H A D | builtin-timechart.c | 855 long fd = evsel__intval(evsel, sample, "fd"); in process_enter_read() 865 long ret = evsel__intval(evsel, sample, "ret"); in process_exit_read() 875 long fd = evsel__intval(evsel, sample, "fd"); in process_enter_write() 885 long ret = evsel__intval(evsel, sample, "ret"); in process_exit_write() 895 long fd = evsel__intval(evsel, sample, "fd"); in process_enter_sync() 905 long ret = evsel__intval(evsel, sample, "ret"); in process_exit_sync() 915 long fd = evsel__intval(evsel, sample, "fd"); in process_enter_tx() 925 long ret = evsel__intval(evsel, sample, "ret"); in process_exit_tx() 935 long fd = evsel__intval(evsel, sample, "fd"); in process_enter_rx() 945 long ret = evsel__intval(evsel, sample, "ret"); in process_exit_rx() [all …]
|
H A D | builtin-kmem.c | 176 unsigned long ptr = evsel__intval(evsel, sample, "ptr"), in evsel__process_alloc_event() 177 call_site = evsel__intval(evsel, sample, "call_site"); in evsel__process_alloc_event() 178 int bytes_req = evsel__intval(evsel, sample, "bytes_req"), in evsel__process_alloc_event() 179 bytes_alloc = evsel__intval(evsel, sample, "bytes_alloc"); in evsel__process_alloc_event() 205 node2 = evsel__intval(evsel, sample, "node"); in evsel__process_alloc_event() 248 unsigned long ptr = evsel__intval(evsel, sample, "ptr"); in evsel__process_free_event() 811 unsigned int migrate_type = evsel__intval(evsel, sample, in evsel__process_page_alloc_event() 823 page = evsel__intval(evsel, sample, "pfn"); in evsel__process_page_alloc_event() 825 page = evsel__intval(evsel, sample, "page"); in evsel__process_page_alloc_event() 889 page = evsel__intval(evsel, sample, "pfn"); in evsel__process_page_free_event() [all …]
|
H A D | builtin-sched.c | 830 const u32 pid = evsel__intval(evsel, sample, "pid"); in replay_wakeup_event() 854 next_pid = evsel__intval(evsel, sample, "next_pid"); in replay_switch_event() 1229 const u32 pid = evsel__intval(evsel, sample, "pid"); in latency_wakeup_event() 1290 const u32 pid = evsel__intval(evsel, sample, "pid"); in latency_migrate_task_event() 2496 if (evsel__intval(evsel, sample, "next_pid") == 0) in timehist_get_thread() 2529 prio = evsel__intval(evsel, sample, "prev_prio"); in timehist_skip_sample() 2541 evsel__intval(evsel, sample, "next_pid") != 0) in timehist_skip_sample() 2601 const u32 pid = evsel__intval(evsel, sample, "pid"); in timehist_sched_wakeup_event() 2637 ocpu = evsel__intval(evsel, sample, "orig_cpu"); in timehist_print_migration_event() 2638 dcpu = evsel__intval(evsel, sample, "dest_cpu"); in timehist_print_migration_event() [all …]
|
H A D | builtin-lock.c | 666 u64 addr = evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_acquire_event() 667 int flag = evsel__intval(evsel, sample, "flags"); in report_lock_acquire_event() 742 u64 addr = evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_acquired_event() 807 u64 addr = evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_contended_event() 865 u64 addr = evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_release_event() 1065 u64 addr = evsel__intval(evsel, sample, "lock_addr"); in report_lock_contention_begin_event() 1066 unsigned int flags = evsel__intval(evsel, sample, "flags"); in report_lock_contention_begin_event() 1230 u64 addr = evsel__intval(evsel, sample, "lock_addr"); in report_lock_contention_end_event()
|
H A D | builtin-kwork.c | 1019 work->id = evsel__intval(evsel, sample, "irq"); in irq_work_init() 1148 num = evsel__intval(evsel, sample, "vec"); in softirq_work_init() 1240 unsigned long long function_addr = evsel__intval(evsel, in workqueue_work_init() 1245 work->id = evsel__intval(evsel, sample, "work"); in workqueue_work_init() 1311 work->id = evsel__intval(evsel, sample, "prev_pid"); in sched_work_init() 1314 work->id = evsel__intval(evsel, sample, "next_pid"); in sched_work_init()
|
H A D | builtin-kvm.c | 623 key->key = evsel__intval(evsel, sample, kvm_exit_reason); in exit_event_get_key() 992 vcpu_record->vcpu_id = evsel__intval(evsel, sample, vcpu_id_str); in per_vcpu_record()
|
H A D | builtin-trace.c | 2966 u64 runtime = evsel__intval(evsel, sample, "runtime"); 2986 (pid_t)evsel__intval(evsel, sample, "pid"), 2988 evsel__intval(evsel, sample, "vruntime"));
|
H A D | builtin-inject.c | 1009 u32 pid = evsel__intval(evsel, sample, "pid"); in perf_inject__sched_stat()
|
/linux/tools/perf/arch/arm64/util/ |
H A D | kvm-stat.c | 29 key->key = evsel__intval(evsel, sample, kvm_exit_reason); in event_get_key() 38 key->key = evsel__intval(evsel, sample, kvm_trap_exit_reason); in event_get_key()
|
/linux/tools/perf/arch/riscv/util/ |
H A D | kvm-stat.c | 33 key->key = evsel__intval(evsel, sample, kvm_exit_reason); in event_get_key()
|
/linux/tools/perf/arch/loongarch/util/ |
H A D | kvm-stat.c | 86 insn = evsel__intval(evsel, sample, "inst_word"); in event_gspr_get_key()
|
/linux/tools/perf/tests/ |
H A D | openat-syscall-tp-fields.c | 119 tp_flags = evsel__intval(evsel, &sample, "flags"); in test__syscall_openat_tp_fields()
|
H A D | switch-tracking.c | 141 next_tid = evsel__intval(evsel, &sample, "next_pid"); in process_sample_event() 142 prev_tid = evsel__intval(evsel, &sample, "prev_pid"); in process_sample_event()
|
/linux/tools/perf/arch/powerpc/util/ |
H A D | kvm-stat.c | 41 key->key = evsel__intval(evsel, sample, "req"); in hcall_event_get_key()
|
/linux/tools/perf/util/ |
H A D | evsel.h | 379 u64 evsel__intval(struct evsel *evsel, struct perf_sample *sample, const char *name);
|
H A D | evsel.c | 3147 u64 evsel__intval(struct evsel *evsel, struct perf_sample *sample, const char *name) in evsel__intval() function 3189 val = evsel__intval(evsel, sample, name); in evsel__taskstate()
|
H A D | intel-pt.c | 3223 tid = evsel__intval(evsel, sample, "next_pid"); in intel_pt_process_switch()
|