/Linux-v5.10/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-v5.10/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.10/tools/perf/tests/attr/ |
D | system-wide-dummy | 40 context_switch=0
|
/Linux-v5.10/tools/perf/util/ |
D | tool.h | 56 context_switch, member
|
D | python.c | 476 pevent->event.context_switch.next_prev_pid, in pyrf_context_switch_event__repr() 477 pevent->event.context_switch.next_prev_tid, in pyrf_context_switch_event__repr() 762 context_switch = 0, in pyrf_evsel__init() local 781 &mmap, &context_switch, &comm, &freq, &inherit_stat, in pyrf_evsel__init() 805 attr.context_switch = context_switch; in pyrf_evsel__init()
|
D | perf_api_probe.c | 93 evsel->core.attr.context_switch = 1; in perf_probe_context_switch()
|
D | session.c | 487 if (tool->context_switch == NULL) in perf_tool__fill_defaults() 488 tool->context_switch = perf_event__process_switch; in perf_tool__fill_defaults() 655 event->context_switch.next_prev_pid = in perf_event__switch_swap() 656 bswap_32(event->context_switch.next_prev_pid); in perf_event__switch_swap() 657 event->context_switch.next_prev_tid = in perf_event__switch_swap() 658 bswap_32(event->context_switch.next_prev_tid); in perf_event__switch_swap() 662 swap_sample_id_all(event, &event->context_switch + 1); in perf_event__switch_swap() 1507 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 | perf_event_attr_fprintf.c | 130 PRINT_ATTRf(context_switch, p_unsigned); in perf_event_attr__fprintf()
|
D | event.c | 403 event->context_switch.next_prev_pid, in perf_event__fprintf_switch() 404 event->context_switch.next_prev_tid); in perf_event__fprintf_switch()
|
D | cs-etm.c | 2325 event->context_switch.next_prev_pid, in cs_etm__process_switch_cpu_wide() 2326 event->context_switch.next_prev_tid); in cs_etm__process_switch_cpu_wide()
|
D | intel-pt.c | 2599 pid = event->context_switch.next_prev_pid; in intel_pt_context_switch() 2600 tid = event->context_switch.next_prev_tid; in intel_pt_context_switch() 3161 if (evsel->core.attr.context_switch) in intel_pt_find_switch()
|
/Linux-v5.10/tools/perf/tests/ |
D | attr.c | 130 WRITE_ASS(context_switch, "d"); in store_event()
|
/Linux-v5.10/kernel/trace/ |
D | trace_entries.h | 123 FTRACE_ENTRY(context_switch, ctx_switch_entry,
|
/Linux-v5.10/tools/lib/perf/include/perf/ |
D | event.h | 404 struct perf_record_switch context_switch; member
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | perf_event.h | 379 context_switch : 1, /* context switch data */ member
|
/Linux-v5.10/include/uapi/linux/ |
D | perf_event.h | 379 context_switch : 1, /* context switch data */ member
|
/Linux-v5.10/tools/perf/ |
D | builtin-inject.c | 693 inject->tool.context_switch = perf_event__drop; in strip_init() 817 .context_switch = perf_event__repipe, in cmd_inject()
|
/Linux-v5.10/tools/perf/arch/x86/util/ |
D | intel-pt.c | 808 switch_evsel->core.attr.context_switch = 1; in intel_pt_recording_options()
|
/Linux-v5.10/drivers/misc/habanalabs/common/ |
D | command_submission.c | 1071 rc = hdev->asic_funcs->context_switch(hdev, ctx->asid); in hl_cs_ioctl()
|
D | habanalabs.h | 764 int (*context_switch)(struct hl_device *hdev, u32 asid); member
|
/Linux-v5.10/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 1562 SET_TABLE_HANDLER(context_switch); in set_table_handlers()
|
/Linux-v5.10/kernel/events/ |
D | core.c | 4614 attr->context_switch || attr->text_poke || in is_sb_event() 4678 if (event->attr.context_switch) { in unaccount_event() 8355 return event->attr.context_switch; in perf_event_switch_match() 11073 if (event->attr.context_switch) { in account_event()
|
/Linux-v5.10/kernel/sched/ |
D | core.c | 3728 context_switch(struct rq *rq, struct task_struct *prev, in context_switch() function 4528 rq = context_switch(rq, prev, next, &rf); in __schedule()
|