/linux/tools/perf/scripts/python/ |
A 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,
|
/linux/kernel/trace/ |
A D | trace_entries.h | 115 __field( unsigned int, prev_pid ) \ 132 __entry->prev_pid, __entry->prev_prio, __entry->prev_state, 150 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
|
A D | trace_functions_graph.c | 385 pid_t prev_pid; in verif_pid() local 396 prev_pid = *last_pid; in verif_pid() 399 if (prev_pid == -1) in verif_pid() 411 print_graph_proc(s, prev_pid); in verif_pid()
|
A D | trace_sched_wakeup.c | 387 entry->prev_pid = prev->pid; in tracing_sched_switch_trace() 415 entry->prev_pid = curr->pid; in tracing_sched_wakeup_trace()
|
A D | trace_output.c | 940 field->prev_pid, in trace_ctxwake_print() 974 field->prev_pid, in trace_ctxwake_raw() 1010 SEQ_PUT_HEX_FIELD(s, field->prev_pid); in trace_ctxwake_hex() 1041 SEQ_PUT_FIELD(s, field->prev_pid); in trace_ctxwake_bin()
|
/linux/samples/bpf/ |
A D | offwaketime_kern.c | 117 int prev_pid; member 128 u32 pid = ctx->prev_pid;
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_tracepoint.c | 11 int prev_pid; member
|
A D | test_stacktrace_map.c | 45 int prev_pid; member
|
/linux/tools/perf/python/ |
A D | tracepoint.py | 40 event.prev_pid,
|
/linux/tools/perf/scripts/perl/ |
A D | wakeup-latency.pl | 32 $prev_comm, $prev_pid, $prev_prio, $prev_state, $next_comm, $next_pid,
|
/linux/tools/perf/util/ |
A D | thread_map.c | 188 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() local 204 if (pid == prev_pid) in thread_map__new_by_pid_str()
|
/linux/include/trace/events/ |
A D | sched.h | 230 __field( pid_t, prev_pid ) 240 __entry->prev_pid = prev->pid; 250 __entry->prev_comm, __entry->prev_pid, __entry->prev_prio,
|
/linux/tools/perf/ |
A D | builtin-timechart.c | 440 int prev_pid, int next_pid, u64 prev_state, in sched_switch() argument 445 prev_p = find_create_pid(tchart, prev_pid); in sched_switch() 450 pid_put_sample(tchart, prev_pid, TYPE_RUNNING, cpu, in sched_switch() 625 int prev_pid = evsel__intval(evsel, sample, "prev_pid"); in process_sample_sched_switch() local 629 sched_switch(tchart, sample->cpu, sample->time, prev_pid, next_pid, in process_sample_sched_switch()
|
A D | builtin-sched.c | 839 const u32 prev_pid = evsel__intval(evsel, sample, "prev_pid"), in replay_switch_event() local 865 prev_comm, prev_pid, next_comm, next_pid, delta); in replay_switch_event() 867 prev = register_pid(sched, prev_pid, prev_comm); in replay_switch_event() 1111 const u32 prev_pid = evsel__intval(evsel, sample, "prev_pid"), in latency_switch_event() local 1134 sched_out = machine__findnew_thread(machine, -1, prev_pid); in latency_switch_event() 1676 u32 prev_pid = evsel__intval(evsel, sample, "prev_pid"), in process_sched_switch_event() local 1684 if (sched->curr_pid[this_cpu] != prev_pid) in process_sched_switch_event()
|
/linux/Documentation/trace/ |
A D | histogram.rst | 2134 onmax($wakeup_lat).save(next_comm,prev_pid,prev_prio,prev_comm) \ 2147 prev_pid: 0 prev_prio: 120 prev_comm: swapper/1 2152 prev_pid: 0 prev_prio: 120 prev_comm: swapper/0 2195 onmax($wakeup_lat).save(next_prio,next_comm,prev_pid,prev_prio, \ 2210 prev_pid: 0 prev_prio: 120 prev_comm: swapper/6 2214 prev_pid: 0 prev_prio: 120 prev_comm: swapper/1 2218 prev_pid: 0 prev_prio: 120 prev_comm: swapper/5 2244 …<...>-2103 [005] d..3 309.873125: sched_switch: prev_comm=cyclictest prev_pid=2103 prev_prio=19… 2248 …<...>-2102 [005] d..3 309.873625: sched_switch: prev_comm=cyclictest prev_pid=2102 prev_prio=19… 2261 …<idle>-0 [007] d..3 309.874963: sched_switch: prev_comm=swapper/7 prev_pid=0 prev_prio=120 p… [all …]
|
A 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…
|
A D | ftrace.rst | 3338 …<idle>-0 [005] d... 2440.603828: sched_switch: prev_comm=swapper/5 prev_pid=0 prev_prio=120 … 3339 …sleep-2242 [005] d... 2440.603846: sched_switch: prev_comm=snapshot-test-2 prev_pid=2242 prev_pr… 3341 …<idle>-0 [002] d... 2440.707230: sched_switch: prev_comm=swapper/2 prev_pid=0 prev_prio=120 p… 3355 …<idle>-0 [007] d... 2440.707395: sched_switch: prev_comm=swapper/7 prev_pid=0 prev_prio=120 p… 3356 …snapshot-test-2-2229 [002] d... 2440.707438: sched_switch: prev_comm=snapshot-test-2 prev_pid=22… 3435 …<idle>-0 [003] d..3 136.676909: sched_switch: prev_comm=swapper/3 prev_pid=0 prev_prio=120 p… 3436 …rcu_preempt-9 [003] d..3 136.676916: sched_switch: prev_comm=rcu_preempt prev_pid=9 prev_pri… 3439 …bash-1998 [000] d..3 136.677018: sched_switch: prev_comm=bash prev_pid=1998 prev_prio=120 prev_… 3441 …kworker/0:1-59 [000] d..3 136.677025: sched_switch: prev_comm=kworker/0:1 prev_pid=59 prev_pr…
|
A D | events.rst | 279 sched subsystem (all events but those that have a prev_pid field retain 283 # echo prev_pid == 0 > filter 285 prev_pid == 0
|