Home
last modified time | relevance | path

Searched refs:context_switch (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/tools/testing/selftests/powerpc/benchmarks/
DMakefile2 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.gitignore2 context_switch
/Linux-v4.19/tools/perf/python/
Dtwatch.py18 def main(context_switch = 0, thread = -1): argument
25 sample_id_all = 1, context_switch = context_switch,
/Linux-v4.19/tools/perf/util/
Dtool.h57 context_switch, member
Dpython.c443 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()
Dsession.c384 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()
Drecord.c93 evsel->attr.context_switch = 1; in perf_probe_context_switch()
Devent.h646 struct context_switch_event context_switch; member
Devent.c1460 event->context_switch.next_prev_pid, in perf_event__fprintf_switch()
1461 event->context_switch.next_prev_tid); in perf_event__fprintf_switch()
Dintel-pt.c1903 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()
Devsel.c1040 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/
Dattr.c129 WRITE_ASS(context_switch, "d"); in store_event()
/Linux-v4.19/kernel/trace/
Dtrace_entries.h128 FTRACE_ENTRY(context_switch, ctx_switch_entry,
/Linux-v4.19/tools/include/uapi/linux/
Dperf_event.h372 context_switch : 1, /* context switch data */ member
/Linux-v4.19/include/uapi/linux/
Dperf_event.h372 context_switch : 1, /* context switch data */ member
/Linux-v4.19/tools/perf/
Dbuiltin-inject.c576 inject->tool.context_switch = perf_event__drop; in strip_init()
758 .context_switch = perf_event__repipe, in cmd_inject()
Dbuiltin-script.c2228 script->tool.context_switch = process_switch_event; in __cmd_script()
/Linux-v4.19/tools/perf/arch/x86/util/
Dintel-pt.c695 switch_evsel->attr.context_switch = 1; in intel_pt_recording_options()
/Linux-v4.19/kernel/sched/
Dcore.c2785 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/
Dcore.c4239 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()