Home
last modified time | relevance | path

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

/linux/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/tools/lib/perf/include/internal/
A Devsel.h34 pid_t machine_pid; member
/linux/tools/perf/util/
A Dsession.c596 event->auxtrace_error.machine_pid = bswap_32(event->auxtrace_error.machine_pid); in perf_event__auxtrace_error_swap()
1148 if (sample->machine_pid) in machines__find_for_cpumode()
1149 pid = sample->machine_pid; in machines__find_for_cpumode()
2539 struct machine *machine = machines__findnew(&session->machines, machine_pid); in perf_session__register_guest()
2616 fprintf(stdout, " machine_pid: %"PRI_ld64, e2->machine_pid); in perf_event__process_id_index()
2634 sid->machine_pid = e2->machine_pid; in perf_event__process_id_index()
2637 if (!sid->machine_pid) in perf_event__process_id_index()
2640 if (sid->machine_pid != last_pid) { in perf_event__process_id_index()
2641 ret = perf_session__register_guest(session, sid->machine_pid); in perf_event__process_id_index()
2644 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.h101 u32 machine_pid; member
A Ddata.c538 char *perf_data__guest_kallsyms_name(struct perf_data *data, pid_t machine_pid) in perf_data__guest_kallsyms_name() argument
546 if (asprintf(&kallsyms_name, "%s/kcore_dir__%d/kallsyms", data->path, machine_pid) < 0) in perf_data__guest_kallsyms_name()
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 …]
A Dauxtrace.c1206 pid_t machine_pid, int vcpu) in auxtrace_synth_guest_error() argument
1222 if (machine_pid) { in auxtrace_synth_guest_error()
1224 auxtrace_error->machine_pid = machine_pid; in auxtrace_synth_guest_error()
1716 if (e->fmt >= 2 && e->machine_pid) in perf_event__fprintf_auxtrace_error()
1717 ret += fprintf(fp, " machine_pid %d vcpu %d", e->machine_pid, e->vcpu); in perf_event__fprintf_auxtrace_error()
A Dauxtrace.h611 pid_t machine_pid, int vcpu);
A Ddlfilter.c543 ASSIGN(machine_pid); in dlfilter__do_filter_event()
A Dsynthetic-events.c1901 if (sid->machine_pid) in __perf_event__synthesize_id_index()
1905 e2[i].machine_pid = sid->machine_pid; in __perf_event__synthesize_id_index()
A Devlist.c1634 sample->machine_pid = sid->machine_pid; in evlist__parse_sample()
/linux/tools/perf/
A Dbuiltin-inject.c78 u32 machine_pid; member
1080 event->comm.pid != gs->machine_pid) in host_peek_vm_comms_cb()
1266 sid->machine_pid = gs->machine_pid; in guest_session__add_attr()
1348 static int synthesize_build_id(struct perf_inject *inject, struct dso *dso, pid_t machine_pid) in synthesize_build_id() argument
1350 struct machine *machine = perf_session__findnew_machine(inject->session, machine_pid); in synthesize_build_id()
1382 return synthesize_build_id(inject, dso, gs->machine_pid); in guest_session__add_build_ids_cb()
1792 pr_err("No VCPU threads found for pid %u\n", gs->machine_pid); in host__finished_init()
1866 if (out || pid != gs->machine_pid) in host__context_switch()
1985 gs->machine_pid = strtoul(tok, NULL, 0); in parse_guest_data()
1986 if (!inject->guest_session.machine_pid) in parse_guest_data()
[all …]
A Dbuiltin-script.c814 if (PRINT_FIELD(MACHINE_PID) && sample->machine_pid) in perf_sample__fprintf_start()
815 printed += fprintf(fp, "VM:%5d ", sample->machine_pid); in perf_sample__fprintf_start()
818 if (PRINT_FIELD(VCPU) && sample->machine_pid) in perf_sample__fprintf_start()
/linux/tools/lib/perf/include/perf/
A Devent.h321 __u64 machine_pid; member
362 __u32 machine_pid; member
/linux/tools/perf/include/perf/
A Dperf_dlfilter.h71 __s32 machine_pid; member
/linux/tools/perf/Documentation/
A Dperf-dlfilter.txt116 __s32 machine_pid;
121 Note: 'machine_pid' and 'vcpu' are not original members, but were added together later.
A Dperf-script.txt137 code_page_size, ins_lat, machine_pid, vcpu, cgroup, retire_lat, brcntr,
231 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.txt1545 …$ perf script -i inj --itrace=ce -F+machine_pid,+vcpu,+addr,+pid,+tid,-period --ns --time 7919.408…
/linux/tools/perf/dlfilters/
A Ddlfilter-test-api-v2.c76 __s32 machine_pid; member
/linux/tools/perf/util/scripting-engines/
A Dtrace-event-python.c908 if (sample->machine_pid) { in get_perf_sample_dict()
910 _PyLong_FromLong(sample->machine_pid)); in get_perf_sample_dict()
1594 tuple_set_s32(t, 9, sample->machine_pid); in python_do_process_switch()
1644 tuple_set_s32(t, 9, e->machine_pid); in python_process_auxtrace_error()

Completed in 76 milliseconds