/kernel/linux/linux-5.10/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 | 1702 'next_pid':: 1704 # echo 'hist:keys=next_pid:vals=$ts0:ts0=common_timestamp ... >> \ 1708 same pid as 'next_pid'. 1726 # echo 'hist:keys=next_pid:ts1=common_timestamp ...' >> event/trigger 1754 # echo 'hist:keys=next_pid:wakeup_lat=common_timestamp-$ts0 ...' >> event2/trigger 1990 CPU by a sched_switch event (saved_pid matches next_pid), calculate 1994 # echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:\ 2037 # echo 'hist:keys=next_pid:\ 2048 { next_pid: 2255 } hitcount: 239 2054 { next_pid: 2256 } hitcount: 2355 [all …]
|
D | ftrace.rst | 3333 …5 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=snapshot-test-2 next_pid=2242 next_prio=120 3334 …st-2 prev_pid=2242 prev_prio=120 prev_state=R ==> next_comm=kworker/5:1 next_pid=60 next_prio=120 3336 …r/2 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=snapshot-test-2 next_pid=2229 next_prio=12… 3350 …r/7 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=snapshot-test-2 next_pid=2243 next_prio=120 3351 …ot-test-2 prev_pid=2229 prev_prio=120 prev_state=S ==> next_comm=swapper/2 next_pid=0 next_prio=120 3430 …=swapper/3 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_preempt next_pid=9 next_prio=120 3431 …=rcu_preempt prev_pid=9 prev_prio=120 prev_state=S ==> next_comm=swapper/3 next_pid=0 next_prio=120 3434 …=bash prev_pid=1998 prev_prio=120 prev_state=R+ ==> next_comm=kworker/0:1 next_pid=59 next_prio=120 3436 …m=kworker/0:1 prev_pid=59 prev_prio=120 prev_state=S ==> next_comm=bash next_pid=1998 next_prio=120
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | trace.c | 153 pid_t next_pid = 0; in f2fs_destroy_trace_ios() local 157 while ((found = gang_lookup_pids(pid, next_pid, PIDVEC_SIZE))) { in f2fs_destroy_trace_ios() 160 next_pid = pid[found - 1] + 1; in f2fs_destroy_trace_ios()
|
/kernel/linux/linux-5.10/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)
|
/kernel/linux/linux-5.10/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 | 928 trace_find_cmdline(field->next_pid, comm); in trace_ctxwake_print() 935 field->next_pid, in trace_ctxwake_print() 969 field->next_pid, in trace_ctxwake_raw() 1005 SEQ_PUT_HEX_FIELD(s, field->next_pid); in trace_ctxwake_hex() 1036 SEQ_PUT_FIELD(s, field->next_pid); in trace_ctxwake_bin()
|
D | trace_sched_wakeup.c | 395 entry->next_pid = next->pid; in tracing_sched_switch_trace() 423 entry->next_pid = wakee->pid; in tracing_sched_wakeup_trace()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_tracepoint.c | 15 int next_pid; member
|
D | test_stacktrace_map.c | 49 int next_pid; member
|
/kernel/linux/linux-5.10/tools/perf/python/ |
D | tracepoint.py | 44 event.next_pid,
|
/kernel/linux/linux-5.10/tools/perf/scripts/perl/ |
D | wakeup-latency.pl | 32 $prev_comm, $prev_pid, $prev_prio, $prev_state, $next_comm, $next_pid,
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | offwaketime_kern.c | 120 int next_pid; member
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | sched.h | 157 __field( pid_t, next_pid ) 167 __entry->next_pid = next->pid; 188 __entry->next_comm, __entry->next_pid, __entry->next_prio)
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-sched.c | 840 next_pid = evsel__intval(evsel, sample, "next_pid"); in replay_switch_event() local 865 prev_comm, prev_pid, next_comm, next_pid, delta); in replay_switch_event() 868 next = register_pid(sched, next_pid, next_comm); in replay_switch_event() 1112 next_pid = evsel__intval(evsel, sample, "next_pid"); in latency_switch_event() local 1135 sched_in = machine__findnew_thread(machine, -1, next_pid); in latency_switch_event() 1532 const u32 next_pid = evsel__intval(evsel, sample, "next_pid"); in map_switch_event() local 1570 sched_in = map__findnew_thread(sched, machine, -1, next_pid); in map_switch_event() 1677 next_pid = evsel__intval(evsel, sample, "next_pid"); in process_sched_switch_event() local 1691 sched->curr_pid[this_cpu] = next_pid; in process_sched_switch_event() 2010 const u32 next_pid = evsel__intval(evsel, sample, "next_pid"); in timehist_print_sample() local [all …]
|
D | builtin-timechart.c | 440 int prev_pid, int next_pid, u64 prev_state, in sched_switch() argument 447 p = find_create_pid(tchart, next_pid); in sched_switch() 455 pid_put_sample(tchart, next_pid, p->current->state, cpu, in sched_switch() 626 int next_pid = evsel__intval(evsel, sample, "next_pid"); in process_sample_sched_switch() local 629 sched_switch(tchart, sample->cpu, sample->time, prev_pid, next_pid, in process_sample_sched_switch()
|