Home
last modified time | relevance | path

Searched refs:filtered_pids (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/kernel/trace/
Dtrace_events.c466 pid_list = rcu_dereference_raw(tr->filtered_pids); in trace_event_ignore_this_pid()
739 pid_list = rcu_dereference_raw(tr->filtered_pids); in event_filter_pid_sched_process_exit()
754 pid_list = rcu_dereference_sched(tr->filtered_pids); in event_filter_pid_sched_process_fork()
787 pid_list = rcu_dereference_sched(tr->filtered_pids); in event_filter_pid_sched_switch_probe_pre()
812 pid_list = rcu_dereference_sched(tr->filtered_pids); in event_filter_pid_sched_switch_probe_post()
830 pid_list = rcu_dereference_sched(tr->filtered_pids); in event_filter_pid_sched_wakeup_probe_pre()
848 pid_list = rcu_dereference_sched(tr->filtered_pids); in event_filter_pid_sched_wakeup_probe_post()
878 pid_list = rcu_dereference_protected(tr->filtered_pids, in __ftrace_clear_event_pids()
899 rcu_assign_pointer(tr->filtered_pids, NULL); in __ftrace_clear_event_pids()
1296 pid_list = rcu_dereference_sched(tr->filtered_pids); in __next()
[all …]
Dtrace.h320 struct trace_pid_list __rcu *filtered_pids; member
669 bool trace_find_filtered_pid(struct trace_pid_list *filtered_pids,
671 bool trace_ignore_this_task(struct trace_pid_list *filtered_pids,
681 int trace_pid_write(struct trace_pid_list *filtered_pids,
Dtrace.c537 trace_find_filtered_pid(struct trace_pid_list *filtered_pids, pid_t search_pid) in trace_find_filtered_pid() argument
539 return trace_pid_list_is_set(filtered_pids, search_pid); in trace_find_filtered_pid()
553 trace_ignore_this_task(struct trace_pid_list *filtered_pids, in trace_ignore_this_task() argument
565 return (filtered_pids && in trace_ignore_this_task()
566 !trace_find_filtered_pid(filtered_pids, task->pid)) || in trace_ignore_this_task()
680 int trace_pid_write(struct trace_pid_list *filtered_pids, in trace_pid_write() argument
708 if (filtered_pids) { in trace_pid_write()
710 ret = trace_pid_list_first(filtered_pids, &pid); in trace_pid_write()
713 ret = trace_pid_list_next(filtered_pids, pid + 1, &pid); in trace_pid_write()
Dftrace.c7827 struct trace_pid_list *filtered_pids; in pid_write() local
7839 filtered_pids = rcu_dereference_protected(tr->function_pids, in pid_write()
7845 filtered_pids = rcu_dereference_protected(tr->function_no_pids, in pid_write()
7856 ret = trace_pid_write(filtered_pids, &pid_list, ubuf, cnt); in pid_write()
7870 if (filtered_pids) { in pid_write()
7872 trace_pid_list_free(filtered_pids); in pid_write()