| /Linux-v5.4/tools/testing/selftests/powerpc/benchmarks/ |
| D | Makefile | 2 TEST_GEN_PROGS := gettimeofday context_switch fork mmap_bench futex_bench null_syscall 12 $(OUTPUT)/context_switch: ../utils.c 13 $(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec 14 $(OUTPUT)/context_switch: LDLIBS += -lpthread
|
| D | .gitignore | 2 context_switch
|
| /Linux-v5.4/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-v5.4/tools/perf/util/ |
| D | tool.h | 55 context_switch, member
|
| D | python.c | 455 pevent->event.context_switch.next_prev_pid, in pyrf_context_switch_event__repr() 456 pevent->event.context_switch.next_prev_tid, in pyrf_context_switch_event__repr() 741 context_switch = 0, in pyrf_evsel__init() local 760 &mmap, &context_switch, &comm, &freq, &inherit_stat, in pyrf_evsel__init() 784 attr.context_switch = context_switch; in pyrf_evsel__init()
|
| D | session.c | 482 if (tool->context_switch == NULL) in perf_tool__fill_defaults() 483 tool->context_switch = perf_event__process_switch; in perf_tool__fill_defaults() 647 event->context_switch.next_prev_pid = in perf_event__switch_swap() 648 bswap_32(event->context_switch.next_prev_pid); in perf_event__switch_swap() 649 event->context_switch.next_prev_tid = in perf_event__switch_swap() 650 bswap_32(event->context_switch.next_prev_tid); in perf_event__switch_swap() 654 swap_sample_id_all(event, &event->context_switch + 1); in perf_event__switch_swap() 1463 return tool->context_switch(tool, event, sample, machine); in machines__deliver_event()
|
| D | db-export.c | 576 pid_t pid = event->context_switch.next_prev_pid; in db_export__switch() 577 pid_t tid = event->context_switch.next_prev_tid; in db_export__switch()
|
| D | record.c | 97 evsel->core.attr.context_switch = 1; in perf_probe_context_switch()
|
| D | perf_event_attr_fprintf.c | 128 PRINT_ATTRf(context_switch, p_unsigned); in perf_event_attr__fprintf()
|
| D | event.c | 378 event->context_switch.next_prev_pid, in perf_event__fprintf_switch() 379 event->context_switch.next_prev_tid); in perf_event__fprintf_switch()
|
| D | cs-etm.c | 2238 event->context_switch.next_prev_pid, in cs_etm__process_switch_cpu_wide() 2239 event->context_switch.next_prev_tid); in cs_etm__process_switch_cpu_wide()
|
| D | intel-pt.c | 2481 pid = event->context_switch.next_prev_pid; in intel_pt_context_switch() 2482 tid = event->context_switch.next_prev_tid; in intel_pt_context_switch() 2933 if (evsel->core.attr.context_switch) in intel_pt_find_switch()
|
| D | evsel.c | 1088 attr->context_switch = track; in perf_evsel__config()
|
| /Linux-v5.4/tools/perf/tests/ |
| D | attr.c | 130 WRITE_ASS(context_switch, "d"); in store_event()
|
| /Linux-v5.4/kernel/trace/ |
| D | trace_entries.h | 129 FTRACE_ENTRY(context_switch, ctx_switch_entry,
|
| /Linux-v5.4/tools/perf/lib/include/perf/ |
| D | event.h | 374 struct perf_record_switch context_switch; member
|
| /Linux-v5.4/tools/include/uapi/linux/ |
| D | perf_event.h | 372 context_switch : 1, /* context switch data */ member
|
| /Linux-v5.4/include/uapi/linux/ |
| D | perf_event.h | 372 context_switch : 1, /* context switch data */ member
|
| /Linux-v5.4/tools/perf/ |
| D | builtin-inject.c | 575 inject->tool.context_switch = perf_event__drop; in strip_init() 757 .context_switch = perf_event__repipe, in cmd_inject()
|
| /Linux-v5.4/drivers/misc/habanalabs/ |
| D | command_submission.c | 640 rc = hdev->asic_funcs->context_switch(hdev, ctx->asid); in hl_cs_ioctl()
|
| D | habanalabs.h | 551 int (*context_switch)(struct hl_device *hdev, u32 asid); member
|
| /Linux-v5.4/tools/perf/arch/x86/util/ |
| D | intel-pt.c | 724 switch_evsel->core.attr.context_switch = 1; in intel_pt_recording_options()
|
| /Linux-v5.4/tools/perf/util/scripting-engines/ |
| D | trace-event-python.c | 1557 SET_TABLE_HANDLER(context_switch); in set_table_handlers()
|
| /Linux-v5.4/kernel/events/ |
| D | core.c | 4354 attr->context_switch || in is_sb_event() 4416 if (event->attr.context_switch) { in unaccount_event() 7761 return event->attr.context_switch; in perf_event_switch_match() 10349 if (event->attr.context_switch) { in account_event()
|
| /Linux-v5.4/kernel/sched/ |
| D | core.c | 3333 context_switch(struct rq *rq, struct task_struct *prev, in context_switch() function 4078 rq = context_switch(rq, prev, next, &rf); in __schedule()
|