Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/scripts/python/
H 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 …]
/openbmc/linux/tools/lib/perf/include/internal/
H A Devsel.h34 pid_t machine_pid; member
/openbmc/linux/tools/perf/util/
H A Ddata.h105 char *perf_data__guest_kallsyms_name(struct perf_data *data, pid_t machine_pid);
H A Dsample.h101 u32 machine_pid; member
H A Dsession.c901 event->auxtrace_error.machine_pid = bswap_32(event->auxtrace_error.machine_pid); in perf_event__auxtrace_error_swap()
1440 if (sample->machine_pid) in machines__find_for_cpumode()
1441 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 …]
H A Ddata.c521 char *perf_data__guest_kallsyms_name(struct perf_data *data, pid_t machine_pid) in perf_data__guest_kallsyms_name() argument
529 if (asprintf(&kallsyms_name, "%s/kcore_dir__%d/kallsyms", data->path, machine_pid) < 0) in perf_data__guest_kallsyms_name()
H A Dintel-pt.c1433 pid_t machine_pid = ptq->pid; in intel_pt_get_guest_from_sideband() local
1437 if (machine_pid <= 0) in intel_pt_get_guest_from_sideband()
1440 machine = machines__find(machines, machine_pid); in intel_pt_get_guest_from_sideband()
1470 ptq->guest_machine_pid = machine_pid; in intel_pt_get_guest_from_sideband()
1700 sample->machine_pid = ptq->guest_machine_pid; in intel_pt_prep_a_sample()
2480 pid_t machine_pid, int vcpu) in intel_pt_synth_error() argument
2501 machine_pid, vcpu); in intel_pt_synth_error()
2526 pid_t machine_pid = 0; in intel_ptq_synth_error() local
2534 machine_pid = ptq->guest_machine_pid; in intel_ptq_synth_error()
2541 state->from_ip, tm, machine_pid, vcpu); in intel_ptq_synth_error()
[all …]
H 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()
1708 if (e->fmt >= 2 && e->machine_pid) in perf_event__fprintf_auxtrace_error()
1709 ret += fprintf(fp, " machine_pid %d vcpu %d", e->machine_pid, e->vcpu); in perf_event__fprintf_auxtrace_error()
H A Dauxtrace.h609 pid_t machine_pid, int vcpu);
H A Ddlfilter.c541 ASSIGN(machine_pid); in dlfilter__do_filter_event()
H A Dsynthetic-events.c1885 if (sid->machine_pid) in __perf_event__synthesize_id_index()
1889 e2[i].machine_pid = sid->machine_pid; in __perf_event__synthesize_id_index()
H A Devlist.c1562 sample->machine_pid = sid->machine_pid; in evlist__parse_sample()
/openbmc/linux/tools/perf/
H A Dbuiltin-inject.c78 u32 machine_pid; member
906 event->comm.pid != gs->machine_pid) in host_peek_vm_comms_cb()
1092 sid->machine_pid = gs->machine_pid; in guest_session__add_attr()
1174 static int synthesize_build_id(struct perf_inject *inject, struct dso *dso, pid_t machine_pid) in synthesize_build_id() argument
1176 struct machine *machine = perf_session__findnew_machine(inject->session, machine_pid); in synthesize_build_id()
1201 ret = synthesize_build_id(inject, dso, gs->machine_pid); in guest_session__add_build_ids()
1603 pr_err("No VCPU threads found for pid %u\n", gs->machine_pid); in host__finished_init()
1677 if (out || pid != gs->machine_pid) in host__context_switch()
1796 gs->machine_pid = strtoul(tok, NULL, 0); in parse_guest_data()
1797 if (!inject->guest_session.machine_pid) in parse_guest_data()
[all …]
H A Dbuiltin-script.c785 if (PRINT_FIELD(MACHINE_PID) && sample->machine_pid) in perf_sample__fprintf_start()
786 printed += fprintf(fp, "VM:%5d ", sample->machine_pid); in perf_sample__fprintf_start()
789 if (PRINT_FIELD(VCPU) && sample->machine_pid) in perf_sample__fprintf_start()
/openbmc/linux/tools/perf/include/perf/
H A Dperf_dlfilter.h71 __s32 machine_pid; member
/openbmc/linux/tools/lib/perf/include/perf/
H A Devent.h315 __u64 machine_pid; member
356 __u32 machine_pid; member
/openbmc/linux/tools/perf/Documentation/
H A Dperf-dlfilter.txt116 __s32 machine_pid;
121 Note: 'machine_pid' and 'vcpu' are not original members, but were added together later.
H A Dperf-script.txt137 machine_pid, vcpu, cgroup, retire_lat.
230 The machine_pid and vcpu fields are derived from data resulting from using
H A Dperf-script-python.txt563 def context_switch(ts, cpu, pid, tid, np_pid, np_tid, machine_pid, out, out_preempt, *x):
H A Dperf-intel-pt.txt1541 …$ perf script -i inj --itrace=ce -F+machine_pid,+vcpu,+addr,+pid,+tid,-period --ns --time 7919.408…
/openbmc/linux/tools/perf/dlfilters/
H A Ddlfilter-test-api-v2.c76 __s32 machine_pid; member
/openbmc/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c894 if (sample->machine_pid) { in get_perf_sample_dict()
896 _PyLong_FromLong(sample->machine_pid)); in get_perf_sample_dict()
1576 tuple_set_s32(t, 9, sample->machine_pid); in python_do_process_switch()
1626 tuple_set_s32(t, 9, e->machine_pid); in python_process_auxtrace_error()