Home
last modified time | relevance | path

Searched refs:next_pid (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/samples/trace_events/
Dtrace_custom_sched.h45 __field( pid_t, next_pid )
50 __entry->next_pid = next->pid;
55 __entry->prev_prio, __entry->next_pid, __entry->next_prio)
/linux-6.12.1/Documentation/trace/
Dhistogram-design.rst367 # echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0' >>
600 # echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0' >> | |
728 …# echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0' >> events/sched/sched_switch/tr…
800 …# trigger info: hist:keys=next_pid:vals=hitcount:wakeup_lat=common_timestamp.usecs-$ts0:sort=hitco…
832 ftrace_event_field name: next_pid
852 …# echo '!hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0' >> events/sched/sched_switch/t…
866 next_pid field on this sched_switch event, we retrieve the
871 could equivalently be written trace(wakeup_latency,$wakeup_lat,next_pid)
874 next_pid isn't, since it's just naming a field in the sched_switch
903 next_pid into the wakeup_latency synthetic event invocation, which
[all …]
Dfprobetrace.rst127 # echo 't sched_switch preempt prev_pid=prev->pid next_pid=next->pid' >> dynamic_events
199 …rev_comm=sh prev_pid=70 prev_prio=120 prev_state=S ==> next_comm=swapper/0 next_pid=0 next_prio=120
201 …swapper/0 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_preempt next_pid=16 next_prio=120
203 …rcu_preempt prev_pid=16 prev_prio=120 prev_state=I ==> next_comm=swapper/0 next_pid=0 next_prio=120
205 …swapper/0 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_preempt next_pid=16 next_prio=120
Dhistogram.rst1712 'next_pid'::
1714 # echo 'hist:keys=next_pid:vals=$ts0:ts0=common_timestamp ... >> \
1718 same pid as 'next_pid'.
1736 # echo 'hist:keys=next_pid:ts1=common_timestamp ...' >> event/trigger
1764 # echo 'hist:keys=next_pid:wakeup_lat=common_timestamp-$ts0 ...' >> event2/trigger
1783 # echo 'hist:keys=next_pid:timestamp_secs=common_timestamp/1000000 ...' >> event/trigger
1787 # echo 'hist:keys=next_pid:us_per_sec=1000000 ...' >> event/trigger
1788 # echo 'hist:keys=next_pid:timestamp_secs=common_timestamp/$us_per_sec ...' >> event/trigger
1952 …# echo 'hist:keys=next_pid:ts=common_timestamp.usecs,st=common_stacktrace if prev_state == 2' >> …
2247 CPU by a sched_switch event (saved_pid matches next_pid), calculate
[all …]
Dftrace.rst3561 …5 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=snapshot-test-2 next_pid=2242 next_prio=120
3562 …st-2 prev_pid=2242 prev_prio=120 prev_state=R ==> next_comm=kworker/5:1 next_pid=60 next_prio=120
3564 …r/2 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=snapshot-test-2 next_pid=2229 next_prio=12…
3578 …r/7 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=snapshot-test-2 next_pid=2243 next_prio=120
3579 …ot-test-2 prev_pid=2229 prev_prio=120 prev_state=S ==> next_comm=swapper/2 next_pid=0 next_prio=120
3658 …=swapper/3 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_preempt next_pid=9 next_prio=120
3659 …=rcu_preempt prev_pid=9 prev_prio=120 prev_state=S ==> next_comm=swapper/3 next_pid=0 next_prio=120
3662 …=bash prev_pid=1998 prev_prio=120 prev_state=R+ ==> next_comm=kworker/0:1 next_pid=59 next_prio=120
3664 …m=kworker/0:1 prev_pid=59 prev_prio=120 prev_state=S ==> next_comm=bash next_pid=1998 next_prio=120
/linux-6.12.1/tools/perf/scripts/python/
Dsched-migration.py334 next_comm, next_pid, next_prio): argument
342 headers.ts_format(), headers.cpu, prev_comm, prev_pid, next_comm, next_pid)
345 threads[next_pid] = next_comm
346 self.current_tsk[headers.cpu] = next_pid
349 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu)
423 next_comm, next_pid, next_prio): argument
428 next_comm, next_pid, next_prio)
Dtask-analyzer.py922 prev_pid, prev_prio, prev_state, next_comm, next_pid, argument
934 _handle_task_start(next_pid, common_cpu, next_comm, time)
/linux-6.12.1/kernel/trace/
Dtrace_entries.h142 __field( unsigned int, next_pid ) \
159 __entry->next_pid, __entry->next_prio, __entry->next_state,
177 __entry->next_pid, __entry->next_prio, __entry->next_state,
Dtrace_output.c1088 trace_find_cmdline(field->next_pid, comm); in trace_ctxwake_print()
1095 field->next_pid, in trace_ctxwake_print()
1129 field->next_pid, in trace_ctxwake_raw()
1165 SEQ_PUT_HEX_FIELD(s, field->next_pid); in trace_ctxwake_hex()
1196 SEQ_PUT_FIELD(s, field->next_pid); in trace_ctxwake_bin()
Dtrace_sched_wakeup.c394 entry->next_pid = next->pid; in tracing_sched_switch_trace()
422 entry->next_pid = wakee->pid; in tracing_sched_wakeup_trace()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_tracepoint.c15 int next_pid; member
Dtest_stacktrace_map.c49 int next_pid; member
/linux-6.12.1/tools/perf/python/
Dtracepoint.py44 event.next_pid,
/linux-6.12.1/tools/perf/scripts/perl/
Dwakeup-latency.pl32 $prev_comm, $prev_pid, $prev_prio, $prev_state, $next_comm, $next_pid,
/linux-6.12.1/tools/perf/
Dbuiltin-sched.c854 next_pid = evsel__intval(evsel, sample, "next_pid"); in replay_switch_event() local
879 prev_comm, prev_pid, next_comm, next_pid, delta); in replay_switch_event()
882 next = register_pid(sched, next_pid, next_comm); in replay_switch_event()
1125 next_pid = evsel__intval(evsel, sample, "next_pid"); in latency_switch_event() local
1148 sched_in = machine__findnew_thread(machine, -1, next_pid); in latency_switch_event()
1626 const u32 next_pid = evsel__intval(evsel, sample, "next_pid"); in map_switch_event() local
1669 sched_in = map__findnew_thread(sched, machine, -1, next_pid); in map_switch_event()
1793 next_pid = evsel__intval(evsel, sample, "next_pid"); in process_sched_switch_event() local
1807 sched->curr_pid[this_cpu] = next_pid; in process_sched_switch_event()
2155 const u32 next_pid = evsel__intval(evsel, sample, "next_pid"); in timehist_print_sample() local
[all …]
Dbuiltin-timechart.c459 int prev_pid, int next_pid, u64 prev_state, in sched_switch() argument
466 p = find_create_pid(tchart, next_pid); in sched_switch()
474 pid_put_sample(tchart, next_pid, p->current->state, cpu, in sched_switch()
648 int next_pid = evsel__intval(evsel, sample, "next_pid"); in process_sample_sched_switch() local
651 sched_switch(tchart, sample->cpu, sample->time, prev_pid, next_pid, in process_sample_sched_switch()
/linux-6.12.1/include/trace/events/
Dsched.h237 __field( pid_t, next_pid )
247 __entry->next_pid = next->pid;
268 __entry->next_comm, __entry->next_pid, __entry->next_prio)