| /linux/tools/testing/selftests/powerpc/benchmarks/ |
| H A D | Makefile | 2 TEST_GEN_PROGS := gettimeofday context_switch fork mmap_bench futex_bench null_syscall 15 $(OUTPUT)/context_switch: ../utils.c 16 $(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec 17 $(OUTPUT)/context_switch: LDLIBS += -lpthread
|
| H A D | .gitignore | 3 context_switch
|
| /linux/tools/perf/python/ |
| H A D | twatch.py | 11 def main(context_switch = 0, thread = -1): argument 18 sample_id_all = 1, context_switch = context_switch,
|
| /linux/tools/perf/tests/shell/attr/ |
| H A D | test-record-dummy-C0 | 45 context_switch=0
|
| H A D | system-wide-dummy | 42 context_switch=0
|
| /linux/tools/perf/util/ |
| H A D | tool.h | 58 context_switch, member
|
| H A D | perf_api_probe.c | 94 evsel->core.attr.context_switch = 1; in perf_probe_context_switch()
|
| H A D | db-export.c | 585 pid_t pid = event->context_switch.next_prev_pid; in db_export__switch() 586 pid_t tid = event->context_switch.next_prev_tid; in db_export__switch()
|
| H A D | python.c | 405 pevent->event.context_switch.next_prev_pid, in pyrf_context_switch_event__repr() 406 pevent->event.context_switch.next_prev_tid, in pyrf_context_switch_event__repr() 998 context_switch = 0, in pyrf_evsel__init() local 1017 &mmap, &context_switch, &comm, &freq, &inherit_stat, in pyrf_evsel__init() 1041 attr.context_switch = context_switch; in pyrf_evsel__init()
|
| H A D | session.c | 385 event->context_switch.next_prev_pid = in perf_event__switch_swap() 386 bswap_32(event->context_switch.next_prev_pid); in perf_event__switch_swap() 387 event->context_switch.next_prev_tid = in perf_event__switch_swap() 388 bswap_32(event->context_switch.next_prev_tid); in perf_event__switch_swap() 392 swap_sample_id_all(event, &event->context_switch + 1); in perf_event__switch_swap() 1347 return tool->context_switch(tool, event, sample, machine); in machines__deliver_event() 2467 if (evsel->core.attr.context_switch) in perf_session__has_switch_events()
|
| H A D | tool.c | 274 tool->context_switch = perf_event__process_switch; in perf_tool__init()
|
| H A D | event.c | 489 event->context_switch.next_prev_pid, in perf_event__fprintf_switch() 490 event->context_switch.next_prev_tid); in perf_event__fprintf_switch()
|
| H A D | perf_event_attr_fprintf.c | 334 PRINT_ATTRf(context_switch, p_unsigned); in perf_event_attr__fprintf()
|
| H A D | arm-spe.c | 1372 pid = event->context_switch.next_prev_pid; in arm_spe_context_switch() 1373 tid = event->context_switch.next_prev_tid; in arm_spe_context_switch()
|
| /linux/tools/testing/selftests/perf_events/ |
| H A D | watermark_signal.c | 61 attr.context_switch = 1; in TEST()
|
| /linux/tools/perf/ |
| H A D | builtin-inject.c | 1431 gs->tool.context_switch = guest_session__repipe; in guest_session__start() 1867 u32 pid = event->context_switch.next_prev_pid; in host__context_switch() 1868 u32 tid = event->context_switch.next_prev_tid; in host__context_switch() 1927 inject->tool.context_switch = perf_event__drop; in strip_init() 2255 inject->tool.context_switch = host__repipe; in __cmd_inject() 2267 inject->tool.context_switch = host__context_switch; in __cmd_inject() 2515 inject.tool.context_switch = perf_event__repipe; in cmd_inject()
|
| /linux/kernel/trace/ |
| H A D | trace_entries.h | 178 FTRACE_ENTRY(context_switch, ctx_switch_entry,
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-inject.txt | 103 Currently only mmap, mmap2, comm, task, context_switch, ksymbol,
|
| H A 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/tools/lib/perf/include/perf/ |
| H A D | event.h | 541 struct perf_record_switch context_switch; member
|
| /linux/tools/include/uapi/linux/ |
| H A D | perf_event.h | 454 context_switch : 1, /* context switch data */ member
|
| /linux/include/uapi/linux/ |
| H A D | perf_event.h | 454 context_switch : 1, /* context switch data */ member
|
| /linux/tools/perf/arch/arm64/util/ |
| H A D | arm-spe.c | 383 tracking_evsel->core.attr.context_switch = 1; in arm_spe_setup_tracking_event()
|
| /linux/tools/perf/scripts/python/ |
| H A 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/tools/perf/util/scripting-engines/ |
| H A D | trace-event-python.c | 1564 np_pid = event->context_switch.next_prev_pid; in python_do_process_switch() 1565 np_tid = event->context_switch.next_prev_tid; in python_do_process_switch() 1878 SET_TABLE_HANDLER(context_switch); in set_table_handlers()
|