/linux-6.6.21/tools/testing/selftests/powerpc/benchmarks/ |
D | Makefile | 2 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 | .gitignore | 3 context_switch
|
/linux-6.6.21/tools/perf/python/ |
D | twatch.py | 11 def main(context_switch = 0, thread = -1): argument 18 sample_id_all = 1, context_switch = context_switch,
|
/linux-6.6.21/tools/perf/tests/attr/ |
D | system-wide-dummy | 40 context_switch=0
|
/linux-6.6.21/tools/perf/util/ |
D | tool.h | 58 context_switch, member
|
D | perf_api_probe.c | 94 evsel->core.attr.context_switch = 1; in perf_probe_context_switch()
|
D | python.c | 579 pevent->event.context_switch.next_prev_pid, in pyrf_context_switch_event__repr() 580 pevent->event.context_switch.next_prev_tid, in pyrf_context_switch_event__repr() 865 context_switch = 0, in pyrf_evsel__init() local 884 &mmap, &context_switch, &comm, &freq, &inherit_stat, in pyrf_evsel__init() 908 attr.context_switch = context_switch; in pyrf_evsel__init()
|
D | db-export.c | 580 pid_t pid = event->context_switch.next_prev_pid; in db_export__switch() 581 pid_t tid = event->context_switch.next_prev_tid; in db_export__switch()
|
D | session.c | 504 if (tool->context_switch == NULL) in perf_tool__fill_defaults() 505 tool->context_switch = perf_event__process_switch; in perf_tool__fill_defaults() 679 event->context_switch.next_prev_pid = in perf_event__switch_swap() 680 bswap_32(event->context_switch.next_prev_pid); in perf_event__switch_swap() 681 event->context_switch.next_prev_tid = in perf_event__switch_swap() 682 bswap_32(event->context_switch.next_prev_tid); in perf_event__switch_swap() 686 swap_sample_id_all(event, &event->context_switch + 1); in perf_event__switch_swap() 1604 return tool->context_switch(tool, event, sample, machine); in machines__deliver_event()
|
D | event.c | 463 event->context_switch.next_prev_pid, in perf_event__fprintf_switch() 464 event->context_switch.next_prev_tid); in perf_event__fprintf_switch()
|
D | perf_event_attr_fprintf.c | 299 PRINT_ATTRf(context_switch, p_unsigned); in perf_event_attr__fprintf()
|
D | arm-spe.c | 889 pid = event->context_switch.next_prev_pid; in arm_spe_context_switch() 890 tid = event->context_switch.next_prev_tid; in arm_spe_context_switch()
|
D | cs-etm.c | 2703 event->context_switch.next_prev_pid, in cs_etm__process_switch_cpu_wide() 2704 event->context_switch.next_prev_tid); in cs_etm__process_switch_cpu_wide()
|
/linux-6.6.21/tools/perf/tests/ |
D | attr.c | 131 WRITE_ASS(context_switch, "d"); in store_event()
|
/linux-6.6.21/tools/perf/ |
D | builtin-inject.c | 1236 gs->tool.context_switch = guest_session__repipe; in guest_session__start() 1672 u32 pid = event->context_switch.next_prev_pid; in host__context_switch() 1673 u32 tid = event->context_switch.next_prev_tid; in host__context_switch() 1732 inject->tool.context_switch = perf_event__drop; in strip_init() 2058 inject->tool.context_switch = host__repipe; in __cmd_inject() 2070 inject->tool.context_switch = host__context_switch; in __cmd_inject() 2179 .context_switch = perf_event__repipe, in cmd_inject()
|
/linux-6.6.21/kernel/trace/ |
D | trace_entries.h | 149 FTRACE_ENTRY(context_switch, ctx_switch_entry,
|
/linux-6.6.21/tools/lib/perf/include/perf/ |
D | event.h | 506 struct perf_record_switch context_switch; member
|
/linux-6.6.21/tools/perf/Documentation/ |
D | perf-inject.txt | 103 Currently only mmap, mmap2, comm, task, context_switch, ksymbol,
|
D | perf-script-python.txt | 560 *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-6.6.21/tools/perf/arch/arm64/util/ |
D | arm-spe.c | 255 tracking_evsel->core.attr.context_switch = 1; in arm_spe_recording_options()
|
/linux-6.6.21/include/uapi/linux/ |
D | perf_event.h | 447 context_switch : 1, /* context switch data */ member
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | perf_event.h | 447 context_switch : 1, /* context switch data */ member
|
/linux-6.6.21/tools/perf/scripts/python/ |
D | intel-pt-events.py | 466 def context_switch(ts, cpu, pid, tid, np_pid, np_tid, machine_pid, out, out_preempt, *x): function
|
/linux-6.6.21/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 1559 np_pid = event->context_switch.next_prev_pid; in python_do_process_switch() 1560 np_tid = event->context_switch.next_prev_tid; in python_do_process_switch() 1871 SET_TABLE_HANDLER(context_switch); in set_table_handlers()
|
/linux-6.6.21/tools/perf/arch/x86/util/ |
D | intel-pt.c | 798 switch_evsel->core.attr.context_switch = 1; in intel_pt_recording_options()
|