Home
last modified time | relevance | path

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

/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 …]
/linux/tools/perf/util/
H A Dsession.c602 event->auxtrace_error.machine_pid = bswap_32(event->auxtrace_error.machine_pid); in perf_event__auxtrace_error_swap()
1181 if (sample->machine_pid) in machines__find_for_cpumode()
1182 pid = sample->machine_pid; in machines__find_for_cpumode()
2763 static int perf_session__register_guest(struct perf_session *session, pid_t machine_pid) in perf_session__register_guest() argument
2765 struct machine *machine = machines__findnew(&session->machines, machine_pid); in perf_session__register_guest()
2778 machine->kallsyms_filename = perf_data__guest_kallsyms_name(session->data, machine_pid); in perf_session__register_guest()
2843 fprintf(stdout, " machine_pid: %"PRI_ld64, e2->machine_pid); in perf_event__process_id_index()
2861 sid->machine_pid = e2->machine_pid; in perf_event__process_id_index()
2864 if (!sid->machine_pid) in perf_event__process_id_index()
2867 if (sid->machine_pid != last_pid) { in perf_event__process_id_index()
[all …]
H A Ddata.h104 char *perf_data__guest_kallsyms_name(struct perf_data *data, pid_t machine_pid);
H A Dsample.h101 u32 machine_pid; member
H A Ddata.c518 char *perf_data__guest_kallsyms_name(struct perf_data *data, pid_t machine_pid)
526 if (asprintf(&kallsyms_name, "%s/kcore_dir__%d/kallsyms", data->path, machine_pid) < 0) in perf_data__kallsyms_name()
538 perf_data__guest_kallsyms_name(struct perf_data * data,pid_t machine_pid) perf_data__guest_kallsyms_name() argument
H A Dintel-pt.c1435 pid_t machine_pid = ptq->pid; in intel_pt_get_guest_from_sideband() local
1439 if (machine_pid <= 0) in intel_pt_get_guest_from_sideband()
1442 machine = machines__find(machines, machine_pid); in intel_pt_get_guest_from_sideband()
1472 ptq->guest_machine_pid = machine_pid; in intel_pt_get_guest_from_sideband()
1702 sample->machine_pid = ptq->guest_machine_pid; in intel_pt_prep_a_sample()
2686 pid_t machine_pid, int vcpu) in intel_pt_synth_error() argument
2707 machine_pid, vcpu); in intel_pt_synth_error()
2732 pid_t machine_pid = 0; in intel_ptq_synth_error() local
2740 machine_pid = ptq->guest_machine_pid; in intel_ptq_synth_error()
2747 state->from_ip, tm, machine_pid, vcpu); in intel_ptq_synth_error()
[all …]
H A Dauxtrace.c1280 pid_t machine_pid, int vcpu) in auxtrace_synth_guest_error() argument
1296 if (machine_pid) { in auxtrace_synth_guest_error()
1298 auxtrace_error->machine_pid = machine_pid; in auxtrace_synth_guest_error()
1795 if (e->fmt >= 2 && e->machine_pid) in perf_event__fprintf_auxtrace_error()
1796 ret += fprintf(fp, " machine_pid %d vcpu %d", e->machine_pid, e->vcpu); in perf_event__fprintf_auxtrace_error()
H A Dauxtrace.h606 pid_t machine_pid, int vcpu);
H A Ddlfilter.c544 ASSIGN(machine_pid); in dlfilter__do_filter_event()
H A Dsynthetic-events.c1919 if (sid->machine_pid) in __perf_event__synthesize_id_index()
1923 e2[i].machine_pid = sid->machine_pid; in __perf_event__synthesize_id_index()
H A Devlist.c1598 sample->machine_pid = sid->machine_pid; in evlist__parse_sample()
/linux/tools/perf/
H A Dbuiltin-inject.c78 u32 machine_pid; member
1074 event->comm.pid != gs->machine_pid) in host_peek_vm_comms_cb()
1260 sid->machine_pid = gs->machine_pid; in guest_session__add_attr()
1342 static int synthesize_build_id(struct perf_inject *inject, struct dso *dso, pid_t machine_pid) in synthesize_build_id() argument
1344 struct machine *machine = perf_session__findnew_machine(inject->session, machine_pid); in synthesize_build_id()
1376 return synthesize_build_id(inject, dso, gs->machine_pid); in guest_session__add_build_ids_cb()
1787 pr_err("No VCPU threads found for pid %u\n", gs->machine_pid); in host__finished_init()
1861 if (out || pid != gs->machine_pid) in host__context_switch()
1980 gs->machine_pid = strtoul(tok, NULL, 0); in parse_guest_data()
1981 if (!inject->guest_session.machine_pid) in parse_guest_data()
[all …]
H A Dbuiltin-script.c833 if (PRINT_FIELD(MACHINE_PID) && sample->machine_pid) in perf_sample__fprintf_start()
834 printed += fprintf(fp, "VM:%5d ", sample->machine_pid); in perf_sample__fprintf_start()
837 if (PRINT_FIELD(VCPU) && sample->machine_pid) in perf_sample__fprintf_start()
/linux/tools/lib/perf/include/internal/
H A Devsel.h60 pid_t machine_pid; member
/linux/tools/perf/include/perf/
H A Dperf_dlfilter.h71 __s32 machine_pid; member
/linux/tools/lib/perf/include/perf/
H A Devent.h334 __u64 machine_pid; member
375 __u32 machine_pid; member
/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 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
/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()
1581 tuple_set_s32(t, 9, sample->machine_pid); in python_do_process_switch()
1631 tuple_set_s32(t, 9, e->machine_pid); in python_process_auxtrace_error()