Home
last modified time | relevance | path

Searched refs:prev_pid (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dsched-migration.py333 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state,
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,
427 parser.sched_switch(headers, prev_comm, prev_pid, prev_prio, prev_state,
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dsched-migration.py333 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state,
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,
427 parser.sched_switch(headers, prev_comm, prev_pid, prev_prio, prev_state,
/kernel/linux/linux-5.10/kernel/trace/
H 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,
H A Dtrace_output.c931 field->prev_pid, in trace_ctxwake_print()
965 field->prev_pid, in trace_ctxwake_raw()
1001 SEQ_PUT_HEX_FIELD(s, field->prev_pid); in trace_ctxwake_hex()
1032 SEQ_PUT_FIELD(s, field->prev_pid); in trace_ctxwake_bin()
H A Dtrace_functions_graph.c387 pid_t prev_pid; in verif_pid() local
398 prev_pid = *last_pid; in verif_pid()
401 if (prev_pid == -1) in verif_pid()
413 print_graph_proc(s, prev_pid); in verif_pid()
H A Dtrace_sched_wakeup.c392 entry->prev_pid = prev->pid; in tracing_sched_switch_trace()
420 entry->prev_pid = curr->pid; in tracing_sched_wakeup_trace()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_tracepoint.c11 int prev_pid; member
H A Dtest_stacktrace_map.c45 int prev_pid; member
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_tracepoint.c11 int prev_pid; member
H A Dtest_stacktrace_map.c45 int prev_pid; member
/kernel/linux/linux-5.10/samples/bpf/
H A Doffwaketime_kern.c116 int prev_pid; member
127 u32 pid = ctx->prev_pid;
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_entries.h141 __field( unsigned int, prev_pid ) \
158 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
176 __entry->prev_pid, __entry->prev_prio, __entry->prev_state,
H A Dtrace_functions_graph.c391 pid_t prev_pid; in verif_pid() local
402 prev_pid = *last_pid; in verif_pid()
405 if (prev_pid == -1) in verif_pid()
417 print_graph_proc(s, prev_pid); in verif_pid()
H A Dtrace_sched_wakeup.c389 entry->prev_pid = prev->pid; in tracing_sched_switch_trace()
417 entry->prev_pid = curr->pid; in tracing_sched_wakeup_trace()
/kernel/linux/linux-5.10/tools/perf/python/
H A Dtracepoint.py37 print "time %u prev_comm=%s prev_pid=%d prev_prio=%d prev_state=0x%x ==> next_comm=%s next_pid=%d next_prio=%d" % (
40 event.prev_pid,
/kernel/linux/linux-5.10/tools/perf/scripts/perl/
H A Dwakeup-latency.pl32 $prev_comm, $prev_pid, $prev_prio, $prev_state, $next_comm, $next_pid,
/kernel/linux/linux-6.6/tools/perf/python/
H A Dtracepoint.py37 print("time %u prev_comm=%s prev_pid=%d prev_prio=%d prev_state=0x%x ==> next_comm=%s next_pid=%d next_prio=%d" % (
40 event.prev_pid,
/kernel/linux/linux-6.6/tools/perf/scripts/perl/
H A Dwakeup-latency.pl32 $prev_comm, $prev_pid, $prev_prio, $prev_state, $next_comm, $next_pid,
/kernel/linux/linux-6.6/samples/bpf/
H A Doffwaketime.bpf.c111 u32 pid = ctx->prev_pid;
/kernel/linux/linux-5.10/tools/perf/util/
H A Dthread_map.c188 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() local
204 if (pid == prev_pid) in thread_map__new_by_pid_str()
/kernel/linux/linux-6.6/tools/perf/util/
H 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()
/kernel/linux/linux-5.10/include/trace/events/
H A Dsched.h153 __field( pid_t, prev_pid )
163 __entry->prev_pid = prev->pid;
172 TP_printk("prev_comm=%s prev_pid=%d prev_prio=%d prev_state=%s%s ==> next_comm=%s next_pid=%d next_prio=%d",
173 __entry->prev_comm, __entry->prev_pid, __entry->prev_prio,
/kernel/linux/linux-6.6/include/trace/events/
H A Dsched.h238 __field( pid_t, prev_pid )
248 __entry->prev_pid = prev->pid;
257 TP_printk("prev_comm=%s prev_pid=%d prev_prio=%d prev_state=%s%s ==> next_comm=%s next_pid=%d next_prio=%d",
258 __entry->prev_comm, __entry->prev_pid, __entry->prev_prio,
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-timechart.c440 int prev_pid, int next_pid, u64 prev_state, in sched_switch()
445 prev_p = find_create_pid(tchart, prev_pid); in sched_switch()
450 pid_put_sample(tchart, prev_pid, TYPE_RUNNING, cpu, in sched_switch()
625 int prev_pid = evsel__intval(evsel, sample, "prev_pid"); in process_sample_sched_switch() local
629 sched_switch(tchart, sample->cpu, sample->time, prev_pid, next_pid, in process_sample_sched_switch()
439 sched_switch(struct timechart *tchart, int cpu, u64 timestamp, int prev_pid, int next_pid, u64 prev_state, const char *backtrace) sched_switch() argument
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-timechart.c459 int prev_pid, int next_pid, u64 prev_state, in sched_switch()
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()
647 int prev_pid = evsel__intval(evsel, sample, "prev_pid"); in process_sample_sched_switch() local
651 sched_switch(tchart, sample->cpu, sample->time, prev_pid, next_pid, in process_sample_sched_switch()
458 sched_switch(struct timechart *tchart, int cpu, u64 timestamp, int prev_pid, int next_pid, u64 prev_state, const char *backtrace) sched_switch() argument

Completed in 21 milliseconds

12