Home
last modified time | relevance | path

Searched refs:prev_pid (Results 1 – 19 of 19) sorted by relevance

/linux/tools/perf/scripts/python/
H A Dsched-migration.py333 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,
H A Dtask-analyzer.py922 prev_pid, prev_prio, prev_state, next_comm, next_pid, argument
933 _handle_task_finish(prev_pid, common_cpu, time, perf_sample_dict)
/linux/kernel/trace/
H A Dtrace_entries.h171 __field( unsigned int, prev_pid ) \
188 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
206 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
H A Dtrace_functions_graph.c597 pid_t prev_pid; in verif_pid() local
608 prev_pid = *last_pid; in verif_pid()
611 if (prev_pid == -1) in verif_pid()
623 print_graph_proc(s, prev_pid); in verif_pid()
H A Dtrace_sched_wakeup.c402 entry->prev_pid = prev->pid; in tracing_sched_switch_trace()
428 entry->prev_pid = curr->pid; in tracing_sched_wakeup_trace()
H A Dtrace_output.c1252 field->prev_pid, in trace_ctxwake_print()
1286 field->prev_pid, in trace_ctxwake_raw()
1322 SEQ_PUT_HEX_FIELD(s, field->prev_pid); in trace_ctxwake_hex()
1353 SEQ_PUT_FIELD(s, field->prev_pid); in trace_ctxwake_bin()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tracepoint.c11 int prev_pid; member
H A Dtest_stacktrace_map.c
/linux/tools/perf/python/
H A Dtracepoint.py44 print("time %u prev_comm=%s prev_pid=%d prev_prio=%d prev_state=0x%x ==> next_comm=%s next_pid=%d next_prio=%d" % (
47 event.prev_pid,
/linux/Documentation/trace/
H A Dfprobetrace.rst127 # echo 't sched_switch preempt prev_pid=prev->pid next_pid=next->pid' >> dynamic_events
199 …sh-70 [000] d..2. 3912.083993: sched_switch: prev_comm=sh prev_pid=70 prev_prio=120 prev_sta…
201 …<idle>-0 [000] d..2. 3912.084183: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=12…
203 …rcu_preempt-16 [000] d..2. 3912.084196: sched_switch: prev_comm=rcu_preempt prev_pid=16 prev…
205 …<idle>-0 [000] d..2. 3912.085191: sched_switch: prev_comm=swapper/0 prev_pid=0 prev_prio=12…
H A Deprobetrace.rst87 field:pid_t prev_pid; offset:24; size:4; signed:1;
105 …# echo 'e:sched/switch sched.sched_switch prev=$prev_pid:u32 next=$next_pid:u32' >> /sys/kernel/tr…
136 Note, without adding the "u32" after the prev_pid and next_pid, the values
H A Dftrace.rst3589 …<idle>-0 [005] d... 2440.603828: sched_switch: prev_comm=swapper/5 prev_pid=0 prev_prio=120 …
3590 …sleep-2242 [005] d... 2440.603846: sched_switch: prev_comm=snapshot-test-2 prev_pid=2242 prev_pr…
3592 …<idle>-0 [002] d... 2440.707230: sched_switch: prev_comm=swapper/2 prev_pid=0 prev_prio=120 p…
3606 …<idle>-0 [007] d... 2440.707395: sched_switch: prev_comm=swapper/7 prev_pid=0 prev_prio=120 p…
3607 …snapshot-test-2-2229 [002] d... 2440.707438: sched_switch: prev_comm=snapshot-test-2 prev_pid=22…
3686 …<idle>-0 [003] d..3 136.676909: sched_switch: prev_comm=swapper/3 prev_pid=0 prev_prio=120 p…
3687 …rcu_preempt-9 [003] d..3 136.676916: sched_switch: prev_comm=rcu_preempt prev_pid=9 prev_pri…
3690 …bash-1998 [000] d..3 136.677018: sched_switch: prev_comm=bash prev_pid=1998 prev_prio=120 prev_…
3692 …kworker/0:1-59 [000] d..3 136.677025: sched_switch: prev_comm=kworker/0:1 prev_pid=59 prev_pr…
/linux/tools/perf/scripts/perl/
H A Dwakeup-latency.pl32 $prev_comm, $prev_pid, $prev_prio, $prev_state, $next_comm, $next_pid,
/linux/tools/perf/util/
H A Dthread_map.c166 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() local
182 if (pid == prev_pid) in thread_map__new_by_pid_str()
/linux/samples/bpf/
H A Doffwaketime.bpf.c111 u32 pid = ctx->prev_pid;
/linux/include/trace/events/
H A Dsched.h231 __field( pid_t, prev_pid )
241 __entry->prev_pid = prev->pid;
251 __entry->prev_comm, __entry->prev_pid, __entry->prev_prio,
/linux/tools/perf/
H A Dbuiltin-timechart.c459 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()
H A Dbuiltin-sched.c849 const u32 prev_pid = evsel__intval(evsel, sample, "prev_pid"), in replay_switch_event() local
874 prev_comm, prev_pid, next_comm, next_pid, delta); in replay_switch_event()
876 prev = register_pid(sched, prev_pid, prev_comm); in replay_switch_event()
1134 const u32 prev_pid = evsel__intval(evsel, sample, "prev_pid"), in latency_switch_event() local
1157 sched_out = machine__findnew_thread(machine, -1, prev_pid); in latency_switch_event()
1626 const u32 prev_pid = evsel__intval(evsel, sample, "prev_pid"); in map_switch_event() local
1670 sched_out = map__findnew_thread(sched, machine, -1, prev_pid); in map_switch_event()
1793 u32 prev_pid = evsel__intval(evsel, sample, "prev_pid"), in process_sched_switch_event() local
1801 if (sched->curr_pid[this_cpu] != prev_pid) in process_sched_switch_event()
/linux/Documentation/arch/powerpc/
H A Dvpa-dtl.rst152 …3.359908: sched:sched_switch: prev_comm=migration/9 prev_pid=67 prev_prio=0 pr…