Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/perf/scripts/python/
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,
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-6.3-rc2/kernel/trace/
A Dtrace_entries.h115 __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 Dtrace_functions_graph.c385 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 Dtrace_sched_wakeup.c387 entry->prev_pid = prev->pid; in tracing_sched_switch_trace()
415 entry->prev_pid = curr->pid; in tracing_sched_wakeup_trace()
A Dtrace_output.c915 field->prev_pid, in trace_ctxwake_print()
949 field->prev_pid, in trace_ctxwake_raw()
985 SEQ_PUT_HEX_FIELD(s, field->prev_pid); in trace_ctxwake_hex()
1016 SEQ_PUT_FIELD(s, field->prev_pid); in trace_ctxwake_bin()
/linux-6.3-rc2/samples/bpf/
A Doffwaketime_kern.c117 int prev_pid; member
128 u32 pid = ctx->prev_pid;
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_tracepoint.c11 int prev_pid; member
A Dtest_stacktrace_map.c45 int prev_pid; member
/linux-6.3-rc2/tools/perf/python/
A Dtracepoint.py40 event.prev_pid,
/linux-6.3-rc2/tools/perf/scripts/perl/
A Dwakeup-latency.pl32 $prev_comm, $prev_pid, $prev_prio, $prev_state, $next_comm, $next_pid,
/linux-6.3-rc2/tools/perf/util/
A Dthread_map.c189 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.3-rc2/include/trace/events/
A Dsched.h233 __field( pid_t, prev_pid )
243 __entry->prev_pid = prev->pid;
253 __entry->prev_comm, __entry->prev_pid, __entry->prev_prio,
/linux-6.3-rc2/tools/perf/
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()
644 int prev_pid = evsel__intval(evsel, sample, "prev_pid"); in process_sample_sched_switch() local
648 sched_switch(tchart, sample->cpu, sample->time, prev_pid, next_pid, in process_sample_sched_switch()
A Dbuiltin-sched.c861 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()
1703 u32 prev_pid = evsel__intval(evsel, sample, "prev_pid"), in process_sched_switch_event() local
1711 if (sched->curr_pid[this_cpu] != prev_pid) in process_sched_switch_event()
/linux-6.3-rc2/Documentation/trace/
A Dhistogram.rst1953 …# 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…
2423 …<idle>-0 [007] d..3 309.874963: sched_switch: prev_comm=swapper/7 prev_pid=0 prev_prio=120 p…
[all …]
A Dhistogram-design.rst1365 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 Dftrace.rst3350 …<idle>-0 [005] d... 2440.603828: sched_switch: prev_comm=swapper/5 prev_pid=0 prev_prio=120 …
3351 …sleep-2242 [005] d... 2440.603846: sched_switch: prev_comm=snapshot-test-2 prev_pid=2242 prev_pr…
3353 …<idle>-0 [002] d... 2440.707230: sched_switch: prev_comm=swapper/2 prev_pid=0 prev_prio=120 p…
3367 …<idle>-0 [007] d... 2440.707395: sched_switch: prev_comm=swapper/7 prev_pid=0 prev_prio=120 p…
3368 …snapshot-test-2-2229 [002] d... 2440.707438: sched_switch: prev_comm=snapshot-test-2 prev_pid=22…
3447 …<idle>-0 [003] d..3 136.676909: sched_switch: prev_comm=swapper/3 prev_pid=0 prev_prio=120 p…
3448 …rcu_preempt-9 [003] d..3 136.676916: sched_switch: prev_comm=rcu_preempt prev_pid=9 prev_pri…
3451 …bash-1998 [000] d..3 136.677018: sched_switch: prev_comm=bash prev_pid=1998 prev_prio=120 prev_…
3453 …kworker/0:1-59 [000] d..3 136.677025: sched_switch: prev_comm=kworker/0:1 prev_pid=59 prev_pr…
A Devents.rst310 sched subsystem (all events but those that have a prev_pid field retain
314 # echo prev_pid == 0 > filter
316 prev_pid == 0

Completed in 54 milliseconds