Home
last modified time | relevance | path

Searched refs:context_switch (Results 1 - 25 of 61) sorted by relevance

123

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/
H A DMakefile2 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
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/
H A DMakefile2 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
/kernel/linux/linux-5.10/tools/perf/python/
H A Dtwatch.py11 def main(context_switch = 0, thread = -1):
18 sample_id_all = 1, context_switch = context_switch,
50 cpu: 3, pid: 31463, tid: 31593 { type: context_switch, next_prev_pid: 31463, next_prev_tid: 31593, switch_out: 1 }
51 cpu: 1, pid: 31463, tid: 31489 { type: context_switch, next_prev_pid: 31463, next_prev_tid: 31489, switch_out: 1 }
52 cpu: 2, pid: 31463, tid: 31496 { type: context_switch, next_prev_pid: 31463, next_prev_tid: 31496, switch_out: 1 }
53 cpu: 3, pid: 31463, tid: 31491 { type: context_switch, next_prev_pid: 31463, next_prev_tid: 31491, switch_out: 0 }
60 # main(context_switch = 1, thread = 31463)
/kernel/linux/linux-6.6/tools/perf/python/
H A Dtwatch.py11 def main(context_switch = 0, thread = -1):
18 sample_id_all = 1, context_switch = context_switch,
50 cpu: 3, pid: 31463, tid: 31593 { type: context_switch, next_prev_pid: 31463, next_prev_tid: 31593, switch_out: 1 }
51 cpu: 1, pid: 31463, tid: 31489 { type: context_switch, next_prev_pid: 31463, next_prev_tid: 31489, switch_out: 1 }
52 cpu: 2, pid: 31463, tid: 31496 { type: context_switch, next_prev_pid: 31463, next_prev_tid: 31496, switch_out: 1 }
53 cpu: 3, pid: 31463, tid: 31491 { type: context_switch, next_prev_pid: 31463, next_prev_tid: 31491, switch_out: 0 }
60 # main(context_switch = 1, thread = 31463)
/kernel/linux/linux-5.10/tools/perf/util/
H A Dtool.h56 context_switch, member
H A Dpython.c460 static char pyrf_context_switch_event__doc[] = PyDoc_STR("perf context_switch event object.");
475 if (asprintf(&s, "{ type: context_switch, next_prev_pid: %u, next_prev_tid: %u, switch_out: %u }", in pyrf_context_switch_event__repr()
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()
736 "context_switch", in pyrf_evsel__init()
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()
H A Dperf_api_probe.c93 evsel->core.attr.context_switch = 1; in perf_probe_context_switch()
H A Ddb-export.c576 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()
H A Dsession.c487 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()
1520 return tool->context_switch(tool, event, sample, machine); in machines__deliver_event()
H A Dperf_event_attr_fprintf.c130 PRINT_ATTRf(context_switch, p_unsigned); in perf_event_attr__fprintf()
H A Devent.c403 event->context_switch.next_prev_pid, in perf_event__fprintf_switch()
404 event->context_switch.next_prev_tid); in perf_event__fprintf_switch()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dtool.h58 context_switch, member
H A Dpython.c563 static char pyrf_context_switch_event__doc[] = PyDoc_STR("perf context_switch event object.");
578 if (asprintf(&s, "{ type: context_switch, next_prev_pid: %u, next_prev_tid: %u, switch_out: %u }", in pyrf_context_switch_event__repr()
579 pevent->event.context_switch.next_prev_pid, in pyrf_context_switch_event__repr()
580 pevent->event.context_switch.next_prev_tid, in pyrf_context_switch_event__repr()
839 "context_switch", in pyrf_evsel__init()
865 context_switch = 0, in pyrf_evsel__init() local
884 &mmap, &context_switch, &comm, &freq, &inherit_stat, in pyrf_evsel__init()
908 attr.context_switch = context_switch; in pyrf_evsel__init()
H A Dperf_api_probe.c94 evsel->core.attr.context_switch = 1; in perf_probe_context_switch()
H A Ddb-export.c580 pid_t pid = event->context_switch.next_prev_pid; in db_export__switch()
581 pid_t tid = event->context_switch.next_prev_tid; in db_export__switch()
H A Dsession.c504 if (tool->context_switch == NULL) in perf_tool__fill_defaults()
505 tool->context_switch = perf_event__process_switch; in perf_tool__fill_defaults()
679 event->context_switch.next_prev_pid = in perf_event__switch_swap()
680 bswap_32(event->context_switch.next_prev_pid); in perf_event__switch_swap()
681 event->context_switch.next_prev_tid = in perf_event__switch_swap()
682 bswap_32(event->context_switch.next_prev_tid); in perf_event__switch_swap()
686 swap_sample_id_all(event, &event->context_switch + 1); in perf_event__switch_swap()
1604 return tool->context_switch(tool, event, sample, machine); in machines__deliver_event()
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dattr.c130 WRITE_ASS(context_switch, "d"); in store_event()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dattr.c131 WRITE_ASS(context_switch, "d"); in store_event()
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_entries.h123 FTRACE_ENTRY(context_switch, ctx_switch_entry,
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-inject.c1236 gs->tool.context_switch = guest_session__repipe; in guest_session__start()
1672 u32 pid = event->context_switch.next_prev_pid; in host__context_switch()
1673 u32 tid = event->context_switch.next_prev_tid; in host__context_switch()
1732 inject->tool.context_switch = perf_event__drop; in strip_init()
2058 inject->tool.context_switch = host__repipe; in __cmd_inject()
2070 inject->tool.context_switch = host__context_switch; in __cmd_inject()
2179 .context_switch = perf_event__repipe, in cmd_inject()
/kernel/linux/linux-5.10/tools/lib/perf/include/perf/
H A Devent.h407 struct perf_record_switch context_switch; member
/kernel/linux/linux-6.6/tools/lib/perf/include/perf/
H A Devent.h506 struct perf_record_switch context_switch; member
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_entries.h149 FTRACE_ENTRY(context_switch, ctx_switch_entry,
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dperf_event.h224 context_switch : 1, member
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-inject.c694 inject->tool.context_switch = perf_event__drop; in strip_init()
818 .context_switch = perf_event__repipe, in cmd_inject()

Completed in 26 milliseconds

123