/linux/tools/testing/selftests/powerpc/benchmarks/ |
H A D | Makefile | 2 TEST_GEN_PROGS := gettimeofday context_switch fork mmap_bench futex_bench null_syscall 15 $(OUTPUT)/context_switch: ../utils.c 16 $(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec 17 $(OUTPUT)/context_switch: LDLIBS += -lpthread
|
H A D | .gitignore | 3 context_switch
|
/linux/tools/perf/python/ |
H A D | twatch.py | 11 def main(context_switch = 0, thread = -1): argument 18 sample_id_all = 1, context_switch = context_switch,
|
/linux/tools/perf/util/ |
H A D | tool.h | 58 context_switch, member
|
H A D | perf_api_probe.c | 94 evsel->core.attr.context_switch = 1; in perf_probe_context_switch()
|
H A D | db-export.c | 580 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 D | tool.c | 254 tool->context_switch = perf_event__process_switch; in perf_tool__init()
|
H A D | event.c | 483 event->context_switch.next_prev_pid, in perf_event__fprintf_switch() 484 event->context_switch.next_prev_tid); in perf_event__fprintf_switch()
|
H A D | perf_event_attr_fprintf.c | 308 PRINT_ATTRf(context_switch, p_unsigned); in perf_event_attr__fprintf()
|
H A D | cs-etm.c | 2792 event->context_switch.next_prev_pid, in cs_etm__process_switch_cpu_wide() 2793 event->context_switch.next_prev_tid); in cs_etm__process_switch_cpu_wide()
|
H A D | evsel.c | 172 WRITE_ASS(context_switch, "d"); in store_event() 1451 attr->context_switch = track; in evsel__config()
|
/linux/tools/testing/selftests/perf_events/ |
H A D | watermark_signal.c | 63 attr.context_switch = 1; in TEST()
|
/linux/tools/perf/ |
H A D | builtin-inject.c | 1425 gs->tool.context_switch = guest_session__repipe; in guest_session__start() 1861 u32 pid = event->context_switch.next_prev_pid; in host__context_switch() 1862 u32 tid = event->context_switch.next_prev_tid; in host__context_switch() 1921 inject->tool.context_switch = perf_event__drop; in strip_init() 2249 inject->tool.context_switch = host__repipe; in __cmd_inject() 2261 inject->tool.context_switch = host__context_switch; in __cmd_inject() 2509 inject.tool.context_switch = perf_event__repipe; in cmd_inject()
|
/linux/tools/lib/perf/include/perf/ |
H A D | event.h | 512 struct perf_record_switch context_switch; member
|
/linux/kernel/trace/ |
H A D | trace_entries.h | 176 FTRACE_ENTRY(context_switch, ctx_switch_entry,
|
/linux/tools/perf/Documentation/ |
H A D | perf-inject.txt | 103 Currently only mmap, mmap2, comm, task, context_switch, ksymbol,
|
/linux/tools/include/uapi/linux/ |
H A D | perf_event.h | 451 context_switch : 1, /* context switch data */ member
|
/linux/tools/perf/scripts/python/ |
H A D | intel-pt-events.py | 466 def context_switch(ts, cpu, pid, tid, np_pid, np_tid, machine_pid, out, out_preempt, *x): function
|
/linux/kernel/events/ |
H A D | core.c | 5121 attr->context_switch || attr->text_poke || in is_sb_event() 5178 if (event->attr.context_switch) { in unaccount_event() 9288 return event->attr.context_switch; in perf_event_switch_match() 12200 if (event->attr.context_switch) { in account_event()
|
/linux/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 1686 int (*context_switch)(struct hl_device *hdev, u32 asid); member
|
H A D | command_submission.c | 1706 rc = hdev->asic_funcs->context_switch(hdev, ctx->asid); in hl_cs_ctx_switch()
|
/linux/kernel/sched/ |
H A D | core.c | 5322 context_switch(struct rq *rq, struct task_struct *prev, in context_switch() function 6765 rq = context_switch(rq, prev, next, &rf); in __schedule()
|
/linux/drivers/accel/habanalabs/goya/ |
H A D | goya.c | 5462 .context_switch = goya_context_switch,
|
/linux/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi.c | 9142 .context_switch = gaudi_context_switch,
|
/linux/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2.c | 11571 .context_switch = gaudi2_context_switch,
|