/linux/tools/testing/selftests/powerpc/benchmarks/ |
A 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
|
A D | .gitignore | 3 context_switch
|
/linux/tools/perf/python/ |
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/attr/ |
A D | system-wide-dummy | 40 context_switch=0
|
/linux/tools/perf/util/ |
A D | tool.h | 57 context_switch, member
|
A D | python.c | 515 pevent->event.context_switch.next_prev_pid, in pyrf_context_switch_event__repr() 516 pevent->event.context_switch.next_prev_tid, in pyrf_context_switch_event__repr() 801 context_switch = 0, in pyrf_evsel__init() local 820 &mmap, &context_switch, &comm, &freq, &inherit_stat, in pyrf_evsel__init() 844 attr.context_switch = context_switch; in pyrf_evsel__init()
|
A D | perf_api_probe.c | 93 evsel->core.attr.context_switch = 1; in perf_probe_context_switch()
|
A D | db-export.c | 574 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()
|
A D | session.c | 505 if (tool->context_switch == NULL) in perf_tool__fill_defaults() 506 tool->context_switch = perf_event__process_switch; in perf_tool__fill_defaults() 678 event->context_switch.next_prev_pid = in perf_event__switch_swap() 679 bswap_32(event->context_switch.next_prev_pid); in perf_event__switch_swap() 680 event->context_switch.next_prev_tid = in perf_event__switch_swap() 681 bswap_32(event->context_switch.next_prev_tid); in perf_event__switch_swap() 685 swap_sample_id_all(event, &event->context_switch + 1); in perf_event__switch_swap() 1556 return tool->context_switch(tool, event, sample, machine); in machines__deliver_event()
|
A D | perf_event_attr_fprintf.c | 131 PRINT_ATTRf(context_switch, p_unsigned); in perf_event_attr__fprintf()
|
A D | event.c | 437 event->context_switch.next_prev_pid, in perf_event__fprintf_switch() 438 event->context_switch.next_prev_tid); in perf_event__fprintf_switch()
|
A D | arm-spe.c | 738 pid = event->context_switch.next_prev_pid; in arm_spe_context_switch() 739 tid = event->context_switch.next_prev_tid; in arm_spe_context_switch()
|
A D | cs-etm.c | 2367 event->context_switch.next_prev_pid, in cs_etm__process_switch_cpu_wide() 2368 event->context_switch.next_prev_tid); in cs_etm__process_switch_cpu_wide()
|
A D | intel-pt.c | 2905 pid = event->context_switch.next_prev_pid; in intel_pt_context_switch() 2906 tid = event->context_switch.next_prev_tid; in intel_pt_context_switch() 3508 if (evsel->core.attr.context_switch) in intel_pt_find_switch()
|
/linux/tools/perf/tests/ |
A D | attr.c | 131 WRITE_ASS(context_switch, "d"); in store_event()
|
/linux/kernel/trace/ |
A D | trace_entries.h | 123 FTRACE_ENTRY(context_switch, ctx_switch_entry,
|
/linux/tools/lib/perf/include/perf/ |
A D | event.h | 423 struct perf_record_switch context_switch; member
|
/linux/tools/include/uapi/linux/ |
A D | perf_event.h | 400 context_switch : 1, /* context switch data */ member
|
/linux/include/uapi/linux/ |
A D | perf_event.h | 400 context_switch : 1, /* context switch data */ member
|
/linux/tools/perf/scripts/python/ |
A D | intel-pt-events.py | 339 def context_switch(ts, cpu, pid, tid, np_pid, np_tid, machine_pid, out, out_preempt, *x): function
|
/linux/tools/perf/arch/arm64/util/ |
A D | arm-spe.c | 260 tracking_evsel->core.attr.context_switch = 1; in arm_spe_recording_options()
|
/linux/tools/perf/ |
A D | builtin-inject.c | 722 inject->tool.context_switch = perf_event__drop; in strip_init() 891 .context_switch = perf_event__repipe, in cmd_inject()
|
/linux/tools/perf/util/scripting-engines/ |
A D | trace-event-python.c | 1471 np_pid = event->context_switch.next_prev_pid; in python_do_process_switch() 1472 np_tid = event->context_switch.next_prev_tid; in python_do_process_switch() 1785 SET_TABLE_HANDLER(context_switch); in set_table_handlers()
|
/linux/tools/perf/Documentation/ |
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/perf/arch/x86/util/ |
A D | intel-pt.c | 814 switch_evsel->core.attr.context_switch = 1; in intel_pt_recording_options()
|