/linux-6.1.9/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.1.9/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 | histogram.rst | 1703 'next_pid':: 1705 # echo 'hist:keys=next_pid:vals=$ts0:ts0=common_timestamp ... >> \ 1709 same pid as 'next_pid'. 1727 # echo 'hist:keys=next_pid:ts1=common_timestamp ...' >> event/trigger 1755 # echo 'hist:keys=next_pid:wakeup_lat=common_timestamp-$ts0 ...' >> event2/trigger 1774 # echo 'hist:keys=next_pid:timestamp_secs=common_timestamp/1000000 ...' >> event/trigger 1778 # echo 'hist:keys=next_pid:us_per_sec=1000000 ...' >> event/trigger 1779 # echo 'hist:keys=next_pid:timestamp_secs=common_timestamp/$us_per_sec ...' >> event/trigger 2085 CPU by a sched_switch event (saved_pid matches next_pid), calculate 2089 # echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:\ [all …]
|
D | ftrace.rst | 3350 …5 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=snapshot-test-2 next_pid=2242 next_prio=120 3351 …st-2 prev_pid=2242 prev_prio=120 prev_state=R ==> next_comm=kworker/5:1 next_pid=60 next_prio=120 3353 …r/2 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=snapshot-test-2 next_pid=2229 next_prio=12… 3367 …r/7 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=snapshot-test-2 next_pid=2243 next_prio=120 3368 …ot-test-2 prev_pid=2229 prev_prio=120 prev_state=S ==> next_comm=swapper/2 next_pid=0 next_prio=120 3447 …=swapper/3 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_preempt next_pid=9 next_prio=120 3448 …=rcu_preempt prev_pid=9 prev_prio=120 prev_state=S ==> next_comm=swapper/3 next_pid=0 next_prio=120 3451 …=bash prev_pid=1998 prev_prio=120 prev_state=R+ ==> next_comm=kworker/0:1 next_pid=59 next_prio=120 3453 …m=kworker/0:1 prev_pid=59 prev_prio=120 prev_state=S ==> next_comm=bash next_pid=1998 next_prio=120
|
/linux-6.1.9/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)
|
/linux-6.1.9/kernel/trace/ |
D | trace_entries.h | 116 __field( unsigned int, next_pid ) \ 133 __entry->next_pid, __entry->next_prio, __entry->next_state, 151 __entry->next_pid, __entry->next_prio, __entry->next_state,
|
D | trace_output.c | 945 trace_find_cmdline(field->next_pid, comm); in trace_ctxwake_print() 952 field->next_pid, in trace_ctxwake_print() 986 field->next_pid, in trace_ctxwake_raw() 1022 SEQ_PUT_HEX_FIELD(s, field->next_pid); in trace_ctxwake_hex() 1053 SEQ_PUT_FIELD(s, field->next_pid); in trace_ctxwake_bin()
|
D | trace_sched_wakeup.c | 390 entry->next_pid = next->pid; in tracing_sched_switch_trace() 418 entry->next_pid = wakee->pid; in tracing_sched_wakeup_trace()
|
/linux-6.1.9/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.1.9/tools/perf/python/ |
D | tracepoint.py | 44 event.next_pid,
|
/linux-6.1.9/tools/perf/scripts/perl/ |
D | wakeup-latency.pl | 32 $prev_comm, $prev_pid, $prev_prio, $prev_state, $next_comm, $next_pid,
|
/linux-6.1.9/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)
|
/linux-6.1.9/samples/bpf/ |
D | offwaketime_kern.c | 121 int next_pid; member
|
/linux-6.1.9/tools/perf/ |
D | builtin-sched.c | 862 next_pid = evsel__intval(evsel, sample, "next_pid"); in replay_switch_event() local 887 prev_comm, prev_pid, next_comm, next_pid, delta); in replay_switch_event() 890 next = register_pid(sched, next_pid, next_comm); in replay_switch_event() 1134 next_pid = evsel__intval(evsel, sample, "next_pid"); in latency_switch_event() local 1157 sched_in = machine__findnew_thread(machine, -1, next_pid); in latency_switch_event() 1554 const u32 next_pid = evsel__intval(evsel, sample, "next_pid"); in map_switch_event() local 1595 sched_in = map__findnew_thread(sched, machine, -1, next_pid); in map_switch_event() 1704 next_pid = evsel__intval(evsel, sample, "next_pid"); in process_sched_switch_event() local 1718 sched->curr_pid[this_cpu] = next_pid; in process_sched_switch_event() 2037 const u32 next_pid = evsel__intval(evsel, sample, "next_pid"); in timehist_print_sample() local [all …]
|
D | builtin-timechart.c | 458 int prev_pid, int next_pid, u64 prev_state, in sched_switch() argument 465 p = find_create_pid(tchart, next_pid); in sched_switch() 473 pid_put_sample(tchart, next_pid, p->current->state, cpu, in sched_switch() 644 int next_pid = evsel__intval(evsel, sample, "next_pid"); in process_sample_sched_switch() local 647 sched_switch(tchart, sample->cpu, sample->time, prev_pid, next_pid, in process_sample_sched_switch()
|