/linux-6.6.21/tools/perf/scripts/python/ |
D | sched-migration.py | 333 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state, argument 340 if on_cpu_task != -1 and on_cpu_task != prev_pid: 342 headers.ts_format(), headers.cpu, prev_comm, prev_pid, next_comm, next_pid) 344 threads[prev_pid] = prev_comm 349 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu) 422 prev_comm, prev_pid, prev_prio, prev_state, argument 427 parser.sched_switch(headers, prev_comm, prev_pid, prev_prio, prev_state,
|
D | task-analyzer.py | 922 prev_pid, prev_prio, prev_state, next_comm, next_pid, argument 933 _handle_task_finish(prev_pid, common_cpu, time, perf_sample_dict)
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_tracepoint.c | 11 int prev_pid; member
|
D | test_stacktrace_map.c | 45 int prev_pid; member
|
/linux-6.6.21/kernel/trace/ |
D | trace_entries.h | 141 __field( unsigned int, prev_pid ) \ 158 __entry->prev_pid, __entry->prev_prio, __entry->prev_state, 176 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
|
D | trace_functions_graph.c | 391 pid_t prev_pid; in verif_pid() local 402 prev_pid = *last_pid; in verif_pid() 405 if (prev_pid == -1) in verif_pid() 417 print_graph_proc(s, prev_pid); in verif_pid()
|
D | trace_sched_wakeup.c | 389 entry->prev_pid = prev->pid; in tracing_sched_switch_trace() 417 entry->prev_pid = curr->pid; in tracing_sched_wakeup_trace()
|
D | trace_output.c | 1088 field->prev_pid, in trace_ctxwake_print() 1122 field->prev_pid, in trace_ctxwake_raw() 1158 SEQ_PUT_HEX_FIELD(s, field->prev_pid); in trace_ctxwake_hex() 1189 SEQ_PUT_FIELD(s, field->prev_pid); in trace_ctxwake_bin()
|
/linux-6.6.21/Documentation/trace/ |
D | fprobetrace.rst | 115 # echo 't sched_switch preempt prev_pid=prev->pid next_pid=next->pid' >> dynamic_events 187 …sh-70 [000] d..2. 3912.083993: sched_switch: prev_comm=sh prev_pid=70 prev_prio=120 prev_sta… 189 …<idle>-0 [000] d..2. 3912.084183: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=12… 191 …rcu_preempt-16 [000] d..2. 3912.084196: sched_switch: prev_comm=rcu_preempt prev_pid=16 prev… 193 …<idle>-0 [000] d..2. 3912.085191: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=12…
|
D | histogram.rst | 1953 …# echo 'hist:keys=prev_pid:delta=common_timestamp.usecs-$ts,s=$st:onmax($delta).trace(block_lat,pr… 2296 onmax($wakeup_lat).save(next_comm,prev_pid,prev_prio,prev_comm) \ 2309 prev_pid: 0 prev_prio: 120 prev_comm: swapper/1 2314 prev_pid: 0 prev_prio: 120 prev_comm: swapper/0 2357 onmax($wakeup_lat).save(next_prio,next_comm,prev_pid,prev_prio, \ 2372 prev_pid: 0 prev_prio: 120 prev_comm: swapper/6 2376 prev_pid: 0 prev_prio: 120 prev_comm: swapper/1 2380 prev_pid: 0 prev_prio: 120 prev_comm: swapper/5 2406 …<...>-2103 [005] d..3 309.873125: sched_switch: prev_comm=cyclictest prev_pid=2103 prev_prio=19… 2409 …<idle>-0 [005] d..3 309.873616: sched_switch: prev_comm=swapper/5 prev_pid=0 prev_prio=120 p… [all …]
|
D | histogram-design.rst | 1365 onmax($wakeup_lat).save(next_comm,prev_pid,prev_prio,prev_comm)' >> 1392 …akeup_lat=common_timestamp.usecs-$ts0:onmax($wakeup_lat).save(next_comm,prev_pid,prev_prio,prev_co… 1462 …:sort=hitcount:size=2048:clock=global:onmax($wakeup_lat).save(next_comm,prev_pid,prev_prio,prev_co… 1566 var.name: prev_pid 1570 ftrace_event_field name: prev_pid 1605 …akeup_lat=common_timestamp.usecs-$ts0:onmax($wakeup_lat).save(next_comm,prev_pid,prev_prio,prev_co…
|
D | ftrace.rst | 3513 …<idle>-0 [005] d... 2440.603828: sched_switch: prev_comm=swapper/5 prev_pid=0 prev_prio=120 … 3514 …sleep-2242 [005] d... 2440.603846: sched_switch: prev_comm=snapshot-test-2 prev_pid=2242 prev_pr… 3516 …<idle>-0 [002] d... 2440.707230: sched_switch: prev_comm=swapper/2 prev_pid=0 prev_prio=120 p… 3530 …<idle>-0 [007] d... 2440.707395: sched_switch: prev_comm=swapper/7 prev_pid=0 prev_prio=120 p… 3531 …snapshot-test-2-2229 [002] d... 2440.707438: sched_switch: prev_comm=snapshot-test-2 prev_pid=22… 3610 …<idle>-0 [003] d..3 136.676909: sched_switch: prev_comm=swapper/3 prev_pid=0 prev_prio=120 p… 3611 …rcu_preempt-9 [003] d..3 136.676916: sched_switch: prev_comm=rcu_preempt prev_pid=9 prev_pri… 3614 …bash-1998 [000] d..3 136.677018: sched_switch: prev_comm=bash prev_pid=1998 prev_prio=120 prev_… 3616 …kworker/0:1-59 [000] d..3 136.677025: sched_switch: prev_comm=kworker/0:1 prev_pid=59 prev_pr…
|
D | events.rst | 324 sched subsystem (all events but those that have a prev_pid field retain 328 # echo prev_pid == 0 > filter 330 prev_pid == 0
|
/linux-6.6.21/tools/perf/python/ |
D | tracepoint.py | 40 event.prev_pid,
|
/linux-6.6.21/tools/perf/scripts/perl/ |
D | wakeup-latency.pl | 32 $prev_comm, $prev_pid, $prev_prio, $prev_state, $next_comm, $next_pid,
|
/linux-6.6.21/tools/perf/util/ |
D | thread_map.c | 189 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() local 205 if (pid == prev_pid) in thread_map__new_by_pid_str()
|
/linux-6.6.21/include/trace/events/ |
D | sched.h | 233 __field( pid_t, prev_pid ) 243 __entry->prev_pid = prev->pid; 253 __entry->prev_comm, __entry->prev_pid, __entry->prev_prio,
|
/linux-6.6.21/samples/bpf/ |
D | offwaketime.bpf.c | 111 u32 pid = ctx->prev_pid;
|
/linux-6.6.21/tools/perf/ |
D | builtin-timechart.c | 459 int prev_pid, int next_pid, u64 prev_state, in sched_switch() argument 464 prev_p = find_create_pid(tchart, prev_pid); in sched_switch() 469 pid_put_sample(tchart, prev_pid, TYPE_RUNNING, cpu, in sched_switch() 647 int prev_pid = evsel__intval(evsel, sample, "prev_pid"); in process_sample_sched_switch() local 651 sched_switch(tchart, sample->cpu, sample->time, prev_pid, next_pid, in process_sample_sched_switch()
|
D | builtin-sched.c | 861 const u32 prev_pid = evsel__intval(evsel, sample, "prev_pid"), in replay_switch_event() local 887 prev_comm, prev_pid, next_comm, next_pid, delta); in replay_switch_event() 889 prev = register_pid(sched, prev_pid, prev_comm); in replay_switch_event() 1133 const u32 prev_pid = evsel__intval(evsel, sample, "prev_pid"), in latency_switch_event() local 1156 sched_out = machine__findnew_thread(machine, -1, prev_pid); in latency_switch_event() 1718 u32 prev_pid = evsel__intval(evsel, sample, "prev_pid"), in process_sched_switch_event() local 1726 if (sched->curr_pid[this_cpu] != prev_pid) in process_sched_switch_event()
|