Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/python/
Dtwatch.py18 def main(context_switch = 0, thread = -1): argument
25 sample_id_all = 1, context_switch = context_switch,
/linux-4.4.14/tools/perf/util/
Dtool.h49 context_switch, member
Dpython.c317 pevent->event.context_switch.next_prev_pid, in pyrf_context_switch_event__repr()
318 pevent->event.context_switch.next_prev_tid, in pyrf_context_switch_event__repr()
603 context_switch = 0, in pyrf_evsel__init() local
622 &mmap, &context_switch, &comm, &freq, &inherit_stat, in pyrf_evsel__init()
646 attr.context_switch = context_switch; in pyrf_evsel__init()
Dsession.c321 if (tool->context_switch == NULL) in perf_tool__fill_defaults()
322 tool->context_switch = perf_event__process_switch; in perf_tool__fill_defaults()
464 event->context_switch.next_prev_pid = in perf_event__switch_swap()
465 bswap_32(event->context_switch.next_prev_pid); in perf_event__switch_swap()
466 event->context_switch.next_prev_tid = in perf_event__switch_swap()
467 bswap_32(event->context_switch.next_prev_tid); in perf_event__switch_swap()
471 swap_sample_id_all(event, &event->context_switch + 1); in perf_event__switch_swap()
1112 return tool->context_switch(tool, event, sample, machine); in machines__deliver_event()
Drecord.c90 evsel->attr.context_switch = 1; in perf_probe_context_switch()
Devent.h380 struct context_switch_event context_switch; member
Devent.c850 event->context_switch.next_prev_pid, in perf_event__fprintf_switch()
851 event->context_switch.next_prev_tid); in perf_event__fprintf_switch()
Dintel-pt.c1595 pid = event->context_switch.next_prev_pid; in intel_pt_context_switch()
1596 tid = event->context_switch.next_prev_tid; in intel_pt_context_switch()
1965 if (evsel->attr.context_switch) in intel_pt_find_switch()
Devsel.c856 attr->context_switch = track; in perf_evsel__config()
1269 PRINT_ATTRf(context_switch, p_unsigned); in perf_event_attr__fprintf()
/linux-4.4.14/kernel/trace/
Dtrace_entries.h127 FTRACE_ENTRY(context_switch, ctx_switch_entry,
/linux-4.4.14/include/uapi/linux/
Dperf_event.h336 context_switch : 1, /* context switch data */ member
/linux-4.4.14/tools/perf/
Dbuiltin-inject.c506 inject->tool.context_switch = perf_event__drop; in strip_init()
681 .context_switch = perf_event__repipe, in cmd_inject()
Dbuiltin-script.c983 script->tool.context_switch = process_switch_event; in __cmd_script()
/linux-4.4.14/tools/perf/arch/x86/util/
Dintel-pt.c642 switch_evsel->attr.context_switch = 1; in intel_pt_recording_options()
/linux-4.4.14/kernel/events/
Dcore.c3586 if (event->attr.context_switch) { in unaccount_event()
6247 return event->attr.context_switch; in perf_event_switch_match()
7830 if (event->attr.context_switch) { in account_event()
/linux-4.4.14/kernel/sched/
Dcore.c2666 context_switch(struct rq *rq, struct task_struct *prev, in context_switch() function
3181 rq = context_switch(rq, prev, next); /* unlocks the rq */ in __schedule()