/linux-6.12.1/samples/trace_events/ |
D | trace_custom_sched.h | 45 __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/ |
D | histogram-design.rst | 367 # 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 …]
|
D | fprobetrace.rst | 127 # 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
|
D | histogram.rst | 1712 '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 …]
|
D | ftrace.rst | 3561 …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/ |
D | sched-migration.py | 334 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)
|
D | task-analyzer.py | 922 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/ |
D | trace_entries.h | 142 __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,
|
D | trace_output.c | 1088 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()
|
D | trace_sched_wakeup.c | 394 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/ |
D | test_tracepoint.c | 15 int next_pid; member
|
D | test_stacktrace_map.c | 49 int next_pid; member
|
/linux-6.12.1/tools/perf/python/ |
D | tracepoint.py | 44 event.next_pid,
|
/linux-6.12.1/tools/perf/scripts/perl/ |
D | wakeup-latency.pl | 32 $prev_comm, $prev_pid, $prev_prio, $prev_state, $next_comm, $next_pid,
|
/linux-6.12.1/tools/perf/ |
D | builtin-sched.c | 854 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 …]
|
D | builtin-timechart.c | 459 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/ |
D | sched.h | 237 __field( pid_t, next_pid ) 247 __entry->next_pid = next->pid; 268 __entry->next_comm, __entry->next_pid, __entry->next_prio)
|