Home
last modified time | relevance | path

Searched refs:pid_list (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/kernel/trace/
Dtrace_events.c237 struct trace_pid_list *pid_list; in trace_event_ignore_this_pid() local
239 pid_list = rcu_dereference_raw(tr->filtered_pids); in trace_event_ignore_this_pid()
242 if (!pid_list && !no_pid_list) in trace_event_ignore_this_pid()
512 struct trace_pid_list *pid_list; in event_filter_pid_sched_process_exit() local
515 pid_list = rcu_dereference_raw(tr->filtered_pids); in event_filter_pid_sched_process_exit()
516 trace_filter_add_remove_task(pid_list, NULL, task); in event_filter_pid_sched_process_exit()
518 pid_list = rcu_dereference_raw(tr->filtered_no_pids); in event_filter_pid_sched_process_exit()
519 trace_filter_add_remove_task(pid_list, NULL, task); in event_filter_pid_sched_process_exit()
527 struct trace_pid_list *pid_list; in event_filter_pid_sched_process_fork() local
530 pid_list = rcu_dereference_sched(tr->filtered_pids); in event_filter_pid_sched_process_fork()
[all …]
Dftrace.c7106 struct trace_pid_list *pid_list; in ftrace_filter_pid_sched_switch_probe() local
7109 pid_list = rcu_dereference_sched(tr->function_pids); in ftrace_filter_pid_sched_switch_probe()
7112 if (trace_ignore_this_task(pid_list, no_pid_list, next)) in ftrace_filter_pid_sched_switch_probe()
7125 struct trace_pid_list *pid_list; in ftrace_pid_follow_sched_process_fork() local
7128 pid_list = rcu_dereference_sched(tr->function_pids); in ftrace_pid_follow_sched_process_fork()
7129 trace_filter_add_remove_task(pid_list, self, task); in ftrace_pid_follow_sched_process_fork()
7131 pid_list = rcu_dereference_sched(tr->function_no_pids); in ftrace_pid_follow_sched_process_fork()
7132 trace_filter_add_remove_task(pid_list, self, task); in ftrace_pid_follow_sched_process_fork()
7138 struct trace_pid_list *pid_list; in ftrace_pid_follow_sched_process_exit() local
7141 pid_list = rcu_dereference_sched(tr->function_pids); in ftrace_pid_follow_sched_process_exit()
[all …]
Dtrace.h219 static inline bool pid_type_enabled(int type, struct trace_pid_list *pid_list, in pid_type_enabled() argument
223 return ((type & TRACE_PIDS) && pid_list) || in pid_type_enabled()
227 static inline bool still_need_pid_events(int type, struct trace_pid_list *pid_list, in still_need_pid_events() argument
234 return (!(type & TRACE_PIDS) && pid_list) || in still_need_pid_events()
816 void trace_filter_add_remove_task(struct trace_pid_list *pid_list,
819 void *trace_pid_next(struct trace_pid_list *pid_list, void *v, loff_t *pos);
820 void *trace_pid_start(struct trace_pid_list *pid_list, loff_t *pos);
822 void trace_free_pid_list(struct trace_pid_list *pid_list);
Dtrace.c504 void trace_free_pid_list(struct trace_pid_list *pid_list) in trace_free_pid_list() argument
506 vfree(pid_list->pids); in trace_free_pid_list()
507 kfree(pid_list); in trace_free_pid_list()
570 void trace_filter_add_remove_task(struct trace_pid_list *pid_list, in trace_filter_add_remove_task() argument
574 if (!pid_list) in trace_filter_add_remove_task()
579 if (!trace_find_filtered_pid(pid_list, self->pid)) in trace_filter_add_remove_task()
584 if (task->pid >= pid_list->pid_max) in trace_filter_add_remove_task()
589 set_bit(task->pid, pid_list->pids); in trace_filter_add_remove_task()
591 clear_bit(task->pid, pid_list->pids); in trace_filter_add_remove_task()
606 void *trace_pid_next(struct trace_pid_list *pid_list, void *v, loff_t *pos) in trace_pid_next() argument
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dthread.h145 if (symbol_conf.pid_list && in thread__is_filtered()
146 !intlist__has_entry(symbol_conf.pid_list, thread->pid_)) { in thread__is_filtered()
Dsymbol_conf.h71 struct intlist *pid_list, member
Dkvm-stat.h99 struct intlist *pid_list; member
Dsymbol.c2465 if (setup_intlist(&symbol_conf.pid_list, in symbol__init()
2503 intlist__delete(symbol_conf.pid_list); in symbol__init()
2520 intlist__delete(symbol_conf.pid_list); in symbol__exit()
Dhist.c1368 symbol_conf.pid_list == NULL && in hist_entry__check_and_remove_filter()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-kvm.c672 if (kvm->pid_list && intlist__find(kvm->pid_list, sample->pid) == NULL) in skip_sample()
1127 kvm->pid_list = intlist__new(kvm->opts.target.pid); in parse_target_str()
1128 if (kvm->pid_list == NULL) { in parse_target_str()
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_fcbuild.h230 u32 d_id, u32 s_id, u32 *pid_list, u16 npids);
Dbfa_fcbuild.c765 u32 s_id, u32 *pid_list, u16 npids) in fc_rpsc2_build() argument
778 rpsc2->pid_list[i].pid = pid_list[i]; in fc_rpsc2_build()
Dbfa_fc.h963 } pid_list[1]; member