/Linux-v4.19/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-v4.19/tools/perf/python/ |
D | twatch.py | 18 def main(context_switch = 0, thread = -1): argument 25 sample_id_all = 1, context_switch = context_switch,
|
/Linux-v4.19/tools/perf/util/ |
D | tool.h | 57 context_switch, member
|
D | python.c | 443 pevent->event.context_switch.next_prev_pid, in pyrf_context_switch_event__repr() 444 pevent->event.context_switch.next_prev_tid, in pyrf_context_switch_event__repr() 729 context_switch = 0, in pyrf_evsel__init() local 748 &mmap, &context_switch, &comm, &freq, &inherit_stat, in pyrf_evsel__init() 772 attr.context_switch = context_switch; in pyrf_evsel__init()
|
D | session.c | 384 if (tool->context_switch == NULL) in perf_tool__fill_defaults() 385 tool->context_switch = perf_event__process_switch; in perf_tool__fill_defaults() 543 event->context_switch.next_prev_pid = in perf_event__switch_swap() 544 bswap_32(event->context_switch.next_prev_pid); in perf_event__switch_swap() 545 event->context_switch.next_prev_tid = in perf_event__switch_swap() 546 bswap_32(event->context_switch.next_prev_tid); in perf_event__switch_swap() 550 swap_sample_id_all(event, &event->context_switch + 1); in perf_event__switch_swap() 1314 return tool->context_switch(tool, event, sample, machine); in machines__deliver_event()
|
D | record.c | 93 evsel->attr.context_switch = 1; in perf_probe_context_switch()
|
D | event.h | 646 struct context_switch_event context_switch; member
|
D | event.c | 1460 event->context_switch.next_prev_pid, in perf_event__fprintf_switch() 1461 event->context_switch.next_prev_tid); in perf_event__fprintf_switch()
|
D | intel-pt.c | 1903 pid = event->context_switch.next_prev_pid; in intel_pt_context_switch() 1904 tid = event->context_switch.next_prev_tid; in intel_pt_context_switch() 2338 if (evsel->attr.context_switch) in intel_pt_find_switch()
|
D | evsel.c | 1040 attr->context_switch = track; in perf_evsel__config() 1638 PRINT_ATTRf(context_switch, p_unsigned); in perf_event_attr__fprintf()
|
/Linux-v4.19/tools/perf/tests/ |
D | attr.c | 129 WRITE_ASS(context_switch, "d"); in store_event()
|
/Linux-v4.19/kernel/trace/ |
D | trace_entries.h | 128 FTRACE_ENTRY(context_switch, ctx_switch_entry,
|
/Linux-v4.19/tools/include/uapi/linux/ |
D | perf_event.h | 372 context_switch : 1, /* context switch data */ member
|
/Linux-v4.19/include/uapi/linux/ |
D | perf_event.h | 372 context_switch : 1, /* context switch data */ member
|
/Linux-v4.19/tools/perf/ |
D | builtin-inject.c | 576 inject->tool.context_switch = perf_event__drop; in strip_init() 758 .context_switch = perf_event__repipe, in cmd_inject()
|
D | builtin-script.c | 2228 script->tool.context_switch = process_switch_event; in __cmd_script()
|
/Linux-v4.19/tools/perf/arch/x86/util/ |
D | intel-pt.c | 695 switch_evsel->attr.context_switch = 1; in intel_pt_recording_options()
|
/Linux-v4.19/kernel/sched/ |
D | core.c | 2785 context_switch(struct rq *rq, struct task_struct *prev, in context_switch() function 3473 rq = context_switch(rq, prev, next, &rf); in __schedule()
|
/Linux-v4.19/kernel/events/ |
D | core.c | 4239 attr->context_switch) in is_sb_event() 4300 if (event->attr.context_switch) { in unaccount_event() 7540 return event->attr.context_switch; in perf_event_switch_match() 9866 if (event->attr.context_switch) { in account_event()
|