Home
last modified time | relevance | path

Searched refs:context_switch (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v6.1/tools/testing/selftests/powerpc/benchmarks/
DMakefile2 TEST_GEN_PROGS := gettimeofday context_switch fork mmap_bench futex_bench null_syscall
14 $(OUTPUT)/context_switch: ../utils.c
15 $(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec
16 $(OUTPUT)/context_switch: LDLIBS += -lpthread
D.gitignore3 context_switch
/Linux-v6.1/tools/perf/python/
Dtwatch.py11 def main(context_switch = 0, thread = -1): argument
18 sample_id_all = 1, context_switch = context_switch,
/Linux-v6.1/tools/perf/tests/attr/
Dsystem-wide-dummy40 context_switch=0
/Linux-v6.1/tools/perf/util/
Dtool.h58 context_switch, member
Dpython.c528 pevent->event.context_switch.next_prev_pid, in pyrf_context_switch_event__repr()
529 pevent->event.context_switch.next_prev_tid, in pyrf_context_switch_event__repr()
814 context_switch = 0, in pyrf_evsel__init() local
833 &mmap, &context_switch, &comm, &freq, &inherit_stat, in pyrf_evsel__init()
857 attr.context_switch = context_switch; in pyrf_evsel__init()
Dperf_api_probe.c94 evsel->core.attr.context_switch = 1; in perf_probe_context_switch()
Ddb-export.c574 pid_t pid = event->context_switch.next_prev_pid; in db_export__switch()
575 pid_t tid = event->context_switch.next_prev_tid; in db_export__switch()
Dperf_event_attr_fprintf.c131 PRINT_ATTRf(context_switch, p_unsigned); in perf_event_attr__fprintf()
Dsession.c507 if (tool->context_switch == NULL) in perf_tool__fill_defaults()
508 tool->context_switch = perf_event__process_switch; in perf_tool__fill_defaults()
682 event->context_switch.next_prev_pid = in perf_event__switch_swap()
683 bswap_32(event->context_switch.next_prev_pid); in perf_event__switch_swap()
684 event->context_switch.next_prev_tid = in perf_event__switch_swap()
685 bswap_32(event->context_switch.next_prev_tid); in perf_event__switch_swap()
689 swap_sample_id_all(event, &event->context_switch + 1); in perf_event__switch_swap()
1605 return tool->context_switch(tool, event, sample, machine); in machines__deliver_event()
Devent.c438 event->context_switch.next_prev_pid, in perf_event__fprintf_switch()
439 event->context_switch.next_prev_tid); in perf_event__fprintf_switch()
Darm-spe.c869 pid = event->context_switch.next_prev_pid; in arm_spe_context_switch()
870 tid = event->context_switch.next_prev_tid; in arm_spe_context_switch()
Dcs-etm.c2365 event->context_switch.next_prev_pid, in cs_etm__process_switch_cpu_wide()
2366 event->context_switch.next_prev_tid); in cs_etm__process_switch_cpu_wide()
/Linux-v6.1/tools/perf/tests/
Dattr.c131 WRITE_ASS(context_switch, "d"); in store_event()
/Linux-v6.1/tools/perf/
Dbuiltin-inject.c1220 gs->tool.context_switch = guest_session__repipe; in guest_session__start()
1648 u32 pid = event->context_switch.next_prev_pid; in host__context_switch()
1649 u32 tid = event->context_switch.next_prev_tid; in host__context_switch()
1708 inject->tool.context_switch = perf_event__drop; in strip_init()
2030 inject->tool.context_switch = host__repipe; in __cmd_inject()
2042 inject->tool.context_switch = host__context_switch; in __cmd_inject()
2151 .context_switch = perf_event__repipe, in cmd_inject()
/Linux-v6.1/kernel/trace/
Dtrace_entries.h123 FTRACE_ENTRY(context_switch, ctx_switch_entry,
/Linux-v6.1/tools/lib/perf/include/perf/
Devent.h493 struct perf_record_switch context_switch; member
/Linux-v6.1/tools/perf/Documentation/
Dperf-inject.txt103 Currently only mmap, mmap2, comm, task, context_switch, ksymbol,
Dperf-script-python.txt560 *context_switch*, if defined, is called for any context switch
563 def context_switch(ts, cpu, pid, tid, np_pid, np_tid, machine_pid, out, out_preempt, *x):
/Linux-v6.1/tools/include/uapi/linux/
Dperf_event.h446 context_switch : 1, /* context switch data */ member
/Linux-v6.1/include/uapi/linux/
Dperf_event.h446 context_switch : 1, /* context switch data */ member
/Linux-v6.1/tools/perf/arch/arm64/util/
Darm-spe.c277 tracking_evsel->core.attr.context_switch = 1; in arm_spe_recording_options()
/Linux-v6.1/tools/perf/scripts/python/
Dintel-pt-events.py405 def context_switch(ts, cpu, pid, tid, np_pid, np_tid, machine_pid, out, out_preempt, *x): function
/Linux-v6.1/tools/perf/util/scripting-engines/
Dtrace-event-python.c1524 np_pid = event->context_switch.next_prev_pid; in python_do_process_switch()
1525 np_tid = event->context_switch.next_prev_tid; in python_do_process_switch()
1842 SET_TABLE_HANDLER(context_switch); in set_table_handlers()
/Linux-v6.1/tools/perf/arch/x86/util/
Dintel-pt.c813 switch_evsel->core.attr.context_switch = 1; in intel_pt_recording_options()

12