Home
last modified time | relevance | path

Searched refs:machine_pid (Results 1 – 21 of 21) sorted by relevance

/linux-6.3-rc2/tools/perf/scripts/python/
A Dintel-pt-events.py237 machine_pid = sample["machine_pid"]
239 …return "VM:%5d VCPU:%03d %16s %5u/%-5u [%03u] %9u.%09u " % (machine_pid, vcpu, comm, pid, tid, cp…
449 machine_pid = x[0]
452 machine_pid = 0
455 if machine_pid:
457 …(machine_pid, vcpu, "Trace error", pid, tid, cpu, ts / 1000000000, ts %1000000000, typ, code, msg,…
466 def context_switch(ts, cpu, pid, tid, np_pid, np_tid, machine_pid, out, out_preempt, *x): argument
478 machine_pid = x[0]
482 if machine_pid == -1:
485 machine_str = "machine PID %d" % machine_pid
[all …]
/linux-6.3-rc2/tools/lib/perf/include/internal/
A Devsel.h34 pid_t machine_pid; member
/linux-6.3-rc2/tools/perf/util/
A Dsession.c902 event->auxtrace_error.machine_pid = bswap_32(event->auxtrace_error.machine_pid); in perf_event__auxtrace_error_swap()
1441 if (sample->machine_pid) in machines__find_for_cpumode()
1442 pid = sample->machine_pid; in machines__find_for_cpumode()
2783 struct machine *machine = machines__findnew(&session->machines, machine_pid); in perf_session__register_guest()
2860 fprintf(stdout, " machine_pid: %"PRI_ld64, e2->machine_pid); in perf_event__process_id_index()
2878 sid->machine_pid = e2->machine_pid; in perf_event__process_id_index()
2881 if (!sid->machine_pid) in perf_event__process_id_index()
2884 if (sid->machine_pid != last_pid) { in perf_event__process_id_index()
2885 ret = perf_session__register_guest(session, sid->machine_pid); in perf_event__process_id_index()
2888 last_pid = sid->machine_pid; in perf_event__process_id_index()
[all …]
A Ddata.h105 char *perf_data__guest_kallsyms_name(struct perf_data *data, pid_t machine_pid);
A Dsample.h89 u32 machine_pid; member
A Ddata.c523 char *perf_data__guest_kallsyms_name(struct perf_data *data, pid_t machine_pid) in perf_data__guest_kallsyms_name() argument
531 if (asprintf(&kallsyms_name, "%s/kcore_dir__%d/kallsyms", data->path, machine_pid) < 0) in perf_data__guest_kallsyms_name()
A Dintel-pt.c1409 pid_t machine_pid = ptq->pid; in intel_pt_get_guest_from_sideband() local
1413 if (machine_pid <= 0) in intel_pt_get_guest_from_sideband()
1416 machine = machines__find(machines, machine_pid); in intel_pt_get_guest_from_sideband()
1446 ptq->guest_machine_pid = machine_pid; in intel_pt_get_guest_from_sideband()
1674 sample->machine_pid = ptq->guest_machine_pid; in intel_pt_prep_a_sample()
2454 pid_t machine_pid, int vcpu) in intel_pt_synth_error() argument
2475 machine_pid, vcpu); in intel_pt_synth_error()
2500 pid_t machine_pid = 0; in intel_ptq_synth_error() local
2508 machine_pid = ptq->guest_machine_pid; in intel_ptq_synth_error()
2515 state->from_ip, tm, machine_pid, vcpu); in intel_ptq_synth_error()
[all …]
A Dauxtrace.c1201 pid_t machine_pid, int vcpu) in auxtrace_synth_guest_error() argument
1217 if (machine_pid) { in auxtrace_synth_guest_error()
1219 auxtrace_error->machine_pid = machine_pid; in auxtrace_synth_guest_error()
1706 if (e->fmt >= 2 && e->machine_pid) in perf_event__fprintf_auxtrace_error()
1707 ret += fprintf(fp, " machine_pid %d vcpu %d", e->machine_pid, e->vcpu); in perf_event__fprintf_auxtrace_error()
A Dauxtrace.h609 pid_t machine_pid, int vcpu);
A Ddlfilter.c498 ASSIGN(machine_pid); in dlfilter__do_filter_event()
A Dsynthetic-events.c1882 if (sid->machine_pid) in __perf_event__synthesize_id_index()
1886 e2[i].machine_pid = sid->machine_pid; in __perf_event__synthesize_id_index()
A Devlist.c1547 sample->machine_pid = sid->machine_pid; in evlist__parse_sample()
/linux-6.3-rc2/tools/perf/
A Dbuiltin-inject.c78 u32 machine_pid; member
895 event->comm.pid != gs->machine_pid) in host_peek_vm_comms_cb()
1081 sid->machine_pid = gs->machine_pid; in guest_session__add_attr()
1163 static int synthesize_build_id(struct perf_inject *inject, struct dso *dso, pid_t machine_pid) in synthesize_build_id() argument
1165 struct machine *machine = perf_session__findnew_machine(inject->session, machine_pid); in synthesize_build_id()
1190 ret = synthesize_build_id(inject, dso, gs->machine_pid); in guest_session__add_build_ids()
1584 pr_err("No VCPU threads found for pid %u\n", gs->machine_pid); in host__finished_init()
1658 if (out || pid != gs->machine_pid) in host__context_switch()
1777 gs->machine_pid = strtoul(tok, NULL, 0); in parse_guest_data()
1778 if (!inject->guest_session.machine_pid) in parse_guest_data()
[all …]
A Dbuiltin-script.c776 if (PRINT_FIELD(MACHINE_PID) && sample->machine_pid) in perf_sample__fprintf_start()
777 printed += fprintf(fp, "VM:%5d ", sample->machine_pid); in perf_sample__fprintf_start()
780 if (PRINT_FIELD(VCPU) && sample->machine_pid) in perf_sample__fprintf_start()
/linux-6.3-rc2/tools/perf/include/perf/
A Dperf_dlfilter.h71 __s32 machine_pid; member
/linux-6.3-rc2/tools/lib/perf/include/perf/
A Devent.h303 __u64 machine_pid; member
344 __u32 machine_pid; member
/linux-6.3-rc2/tools/perf/Documentation/
A Dperf-dlfilter.txt110 __s32 machine_pid;
115 Note: 'machine_pid' and 'vcpu' are not original members, but were added together later.
A Dperf-script.txt137 machine_pid, vcpu, cgroup, retire_lat.
230 The machine_pid and vcpu fields are derived from data resulting from using
A Dperf-script-python.txt563 def context_switch(ts, cpu, pid, tid, np_pid, np_tid, machine_pid, out, out_preempt, *x):
A Dperf-intel-pt.txt1541 …$ perf script -i inj --itrace=ce -F+machine_pid,+vcpu,+addr,+pid,+tid,-period --ns --time 7919.408…
/linux-6.3-rc2/tools/perf/util/scripting-engines/
A Dtrace-event-python.c875 if (sample->machine_pid) { in get_perf_sample_dict()
877 _PyLong_FromLong(sample->machine_pid)); in get_perf_sample_dict()
1543 tuple_set_s32(t, 9, sample->machine_pid); in python_do_process_switch()
1593 tuple_set_s32(t, 9, e->machine_pid); in python_process_auxtrace_error()

Completed in 101 milliseconds