/linux-4.4.14/security/yama/ |
D | yama_lsm.c | 31 struct task_struct *tracer; member 74 static int yama_ptracer_add(struct task_struct *tracer, in yama_ptracer_add() argument 84 added->tracer = tracer; in yama_ptracer_add() 112 static void yama_ptracer_del(struct task_struct *tracer, in yama_ptracer_del() argument 123 (tracer && relation->tracer == tracer)) { in yama_ptracer_del() 180 struct task_struct *tracer; in yama_task_prctl() local 183 tracer = find_task_by_vpid(arg2); in yama_task_prctl() 184 if (tracer) in yama_task_prctl() 185 get_task_struct(tracer); in yama_task_prctl() 190 if (tracer) { in yama_task_prctl() [all …]
|
/linux-4.4.14/security/apparmor/ |
D | ipc.c | 63 int aa_may_ptrace(struct aa_profile *tracer, struct aa_profile *tracee, in aa_may_ptrace() argument 71 if (unconfined(tracer) || tracer == tracee) in aa_may_ptrace() 74 return aa_capable(tracer, CAP_SYS_PTRACE, 1); in aa_may_ptrace() 85 int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee, in aa_ptrace() argument 97 struct aa_profile *tracer_p = aa_get_task_profile(tracer); in aa_ptrace()
|
D | domain.c | 62 struct task_struct *tracer; in may_change_ptraced_domain() local 67 tracer = ptrace_parent(current); in may_change_ptraced_domain() 68 if (tracer) in may_change_ptraced_domain() 70 tracerp = aa_get_task_profile(tracer); in may_change_ptraced_domain() 73 if (!tracer || unconfined(tracerp)) in may_change_ptraced_domain()
|
/linux-4.4.14/kernel/trace/ |
D | trace.h | 160 struct tracer; 174 struct tracer *tracer; member 234 struct tracer *current_trace; 381 struct tracer { struct 402 int (*selftest)(struct tracer *trace, argument 413 struct tracer *next; argument 557 int tracer_init(struct tracer *t, struct trace_array *tr); 618 int register_tracer(struct tracer *type); 672 extern int trace_selftest_startup_function(struct tracer *trace, 674 extern int trace_selftest_startup_function_graph(struct tracer *trace, [all …]
|
D | trace_selftest.c | 95 static inline void warn_failed_init_tracer(struct tracer *trace, int init_ret) in warn_failed_init_tracer() 323 static int trace_selftest_startup_dynamic_tracing(struct tracer *trace, in trace_selftest_startup_dynamic_tracing() 651 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_function() 747 trace_selftest_startup_function_graph(struct tracer *trace, in trace_selftest_startup_function_graph() 812 trace_selftest_startup_irqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_irqsoff() 861 trace_selftest_startup_preemptoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptoff() 923 trace_selftest_startup_preemptirqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptirqsoff() 1024 trace_selftest_startup_nop(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_nop() 1076 trace_selftest_startup_wakeup(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_wakeup() 1154 trace_selftest_startup_sched_switch(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_sched_switch() [all …]
|
D | trace_irqsoff.c | 578 struct tracer *tracer = tr->current_trace; in irqsoff_flag_changed() local 588 return trace_keep_overwrite(tracer, mask, set); in irqsoff_flag_changed() 673 static struct tracer irqsoff_tracer __read_mostly = 705 static struct tracer preemptoff_tracer __read_mostly = 739 static struct tracer preemptirqsoff_tracer __read_mostly =
|
D | Kconfig | 89 # All tracer options should select GENERIC_TRACER. For those options that are 90 # enabled by all tracers (context switch and event tracer) they select TRACING. 91 # This allows those options to appear when no other tracer is selected. But the 145 sequence is then dynamically patched into a tracer call when 221 This tracer tracks the latency of the highest priority task 229 This tracer hooks to various trace points in the kernel, 231 want to trace. It also includes the sched_switch tracer plugin. 239 Basic tracer to catch the syscall entry and exit events. 304 This tracer profiles all likely and unlikely macros 316 This tracer profiles all branch conditions. Every if () [all …]
|
D | trace_sched_wakeup.c | 187 struct tracer *tracer = tr->current_trace; in wakeup_flag_changed() local 197 return trace_keep_overwrite(tracer, mask, set); in wakeup_flag_changed() 737 static struct tracer wakeup_tracer __read_mostly = 757 static struct tracer wakeup_rt_tracer __read_mostly = 777 static struct tracer wakeup_dl_tracer __read_mostly =
|
D | trace.c | 393 static struct tracer *trace_types __read_mostly; 644 struct tracer *tracer = tr->current_trace; in tracing_snapshot() local 661 if (tracer->use_max_tr) { in tracing_snapshot() 1155 static int run_tracer_selftest(struct tracer *type) in run_tracer_selftest() 1158 struct tracer *saved_tracer = tr->current_trace; in run_tracer_selftest() 1214 static inline int run_tracer_selftest(struct tracer *type) in run_tracer_selftest() 1220 static void add_tracer_options(struct trace_array *tr, struct tracer *t); 1230 int __init register_tracer(struct tracer *type) in register_tracer() 1232 struct tracer *t; in register_tracer() 2604 struct tracer *type = iter->trace; in print_trace_header() [all …]
|
D | trace_nop.c | 87 struct tracer nop_trace __read_mostly =
|
D | trace_branch.c | 23 static struct tracer branch_trace; 171 static struct tracer branch_trace __read_mostly =
|
D | trace_mmiotrace.c | 279 static struct tracer mmio_tracer __read_mostly =
|
D | trace_functions.c | 249 static struct tracer function_trace __tracer_data =
|
D | trace_functions_graph.c | 1395 static struct tracer graph_trace __tracer_data = {
|
D | blktrace.c | 1421 static struct tracer blk_tracer __read_mostly = {
|
/linux-4.4.14/security/apparmor/include/ |
D | ipc.h | 22 int aa_may_ptrace(struct aa_profile *tracer, struct aa_profile *tracee, 25 int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee,
|
/linux-4.4.14/Documentation/acpi/ |
D | method-tracing.txt | 61 B. AML tracer 84 that, as the "AML tracer" logs are implemented via ACPI_DEBUG_PRINT() 86 "AML tracer" logs. 88 The following command examples illustrate the usage of the "AML tracer" 90 a. Filter out the method start/stop "AML tracer" logs when control 96 b. Filter out the method start/stop "AML tracer" when the specified 103 c. Filter out the method start/stop "AML tracer" logs when the specified 110 d. Filter out the method/opcode start/stop "AML tracer" when the 117 e. Filter out the method/opcode start/stop "AML tracer" when the 143 used to match all "AML tracer" logs. [all …]
|
/linux-4.4.14/Documentation/prctl/ |
D | seccomp_filter.txt | 119 notify a ptrace()-based tracer prior to executing the system 120 call. If there is no tracer present, -ENOSYS is returned to 123 A tracer will be notified if it requests PTRACE_O_TRACESECCOMP 124 using ptrace(PTRACE_SETOPTIONS). The tracer will be notified 126 the BPF program return value will be available to the tracer 129 The tracer can skip the system call by changing the syscall number 130 to -1. Alternatively, the tracer can change the system call 132 the tracer asks to skip the system call, then the system call will 133 appear to return the value that the tracer puts in the return value 136 The seccomp check will not be run again after the tracer is [all …]
|
/linux-4.4.14/Documentation/trace/ |
D | ftrace.txt | 16 Ftrace is an internal tracer designed to help out developers and 21 Although ftrace is typically considered the function tracer, it 77 This is used to set or display the current tracer 91 the tracer or 1 to enable it. Note, this only disables 110 "trace" file is static, and if the tracer is not 118 files. Options also exist to modify how a tracer 205 Have the function tracer only trace a single thread. 216 with the function graph tracer (See the section 251 tracer, or if enabled, the function graph tracer. It will 253 and if run with the function graph tracer, it will also keep [all …]
|
D | uprobetracer.txt | 1 Uprobe-tracer: Uprobe-based Event Tracing 12 Similar to the kprobe-event tracer, this doesn't need to be activated via 17 However unlike kprobe-event tracer, the uprobe event interface expects the 50 Several types are supported for fetch-args. Uprobe tracer will access memory 148 # tracer: nop
|
D | ftrace-design.txt | 1 function tracer guts 58 mcount(), the arguments mcount() will pass to the tracer are: 63 optimizing for the default case of no tracer will help the smooth running of 323 will be patched to call ftrace_caller(). Second, since we only have one tracer 325 specific tracer in question. That is the point of the ftrace_call label. 351 The last function is used to do runtime patching of the active tracer. This
|
D | kprobetrace.txt | 17 Similar to the events tracer, this doesn't need to be activated via 54 Several types are supported for fetch-args. Kprobe tracer will access memory 157 # tracer: nop
|
/linux-4.4.14/tools/testing/selftests/ftrace/test.d/ |
D | functions | 14 reset_tracer() { # reset the current tracer
|
/linux-4.4.14/kernel/ |
D | ptrace.c | 455 static bool __ptrace_detach(struct task_struct *tracer, struct task_struct *p) in __ptrace_detach() argument 467 if (!same_thread_group(p->real_parent, tracer)) in __ptrace_detach() 469 else if (ignoring_children(tracer->sighand)) { in __ptrace_detach() 470 __wake_up_parent(p, tracer); in __ptrace_detach() 512 void exit_ptrace(struct task_struct *tracer, struct list_head *dead) in exit_ptrace() argument 516 list_for_each_entry_safe(p, n, &tracer->ptraced, ptrace_entry) { in exit_ptrace() 520 if (__ptrace_detach(tracer, p)) in exit_ptrace()
|
/linux-4.4.14/arch/arc/kernel/ |
D | entry.S | 183 ; clobbered them (since they are in scratch regs). The tracer could also 324 ; tracer might call PEEKUSR(CALLEE reg) 336 ; a tracing signal, tracer could have done a POKEUSR(CALLEE reg)
|
/linux-4.4.14/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 1024 void tracer(struct __test_metadata *_metadata, int fd, pid_t tracee, in tracer() function 1098 tracer(_metadata, pipefd[1], tracee, func, args); in setup_trace_fixture() 1109 pid_t tracer) in teardown_trace_fixture() argument 1111 if (tracer) { in teardown_trace_fixture() 1117 ASSERT_EQ(0, kill(tracer, SIGUSR1)); in teardown_trace_fixture() 1118 ASSERT_EQ(tracer, waitpid(tracer, &status, 0)); in teardown_trace_fixture() 1153 pid_t tracer; in FIXTURE_DATA() local 1179 self->tracer = setup_trace_fixture(_metadata, tracer_poke, in FIXTURE_SETUP() 1185 teardown_trace_fixture(_metadata, self->tracer); in FIXTURE_TEARDOWN() 1358 pid_t tracer, mytid, mypid, parent; in FIXTURE_DATA() local [all …]
|
/linux-4.4.14/fs/proc/ |
D | array.c | 148 struct task_struct *tracer; in task_state() local 157 tracer = ptrace_parent(p); in task_state() 158 if (tracer) in task_state() 159 tpid = task_pid_nr_ns(tracer, ns); in task_state()
|
/linux-4.4.14/include/linux/ |
D | trace_events.h | 14 struct tracer; 80 struct tracer *trace;
|
D | ptrace.h | 56 extern void exit_ptrace(struct task_struct *tracer, struct list_head *dead);
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | Kconfig | 44 bool "Atheros 5xxx tracer"
|
/linux-4.4.14/fs/pstore/ |
D | Kconfig | 35 bool "Persistent function tracer"
|
/linux-4.4.14/drivers/hwtracing/coresight/ |
D | Kconfig | 67 This driver provides support for the ETM4.x tracer module, tracing the
|
/linux-4.4.14/arch/x86/ |
D | Makefile_32.cpu | 51 # tracer assumptions. For i686, generic, core2 this is set by the
|
D | Kconfig.debug | 216 Add a simple leak tracer to the IOMMU code. This is useful when you
|
/linux-4.4.14/fs/f2fs/ |
D | Kconfig | 95 bool "F2FS IO tracer"
|
/linux-4.4.14/scripts/ |
D | analyze_suspend.py | 874 def setTracerType(self, tracer): argument 875 self.tracertype = tracer 876 if(tracer == 'function_graph'): 879 elif(tracer == 'nop'): 882 doError('Invalid tracer format: [%s]' % tracer, False) 1084 tracer = m.group('t') 1085 testrun[testidx].setTracerType(tracer) 1317 tracer = m.group('t') 1318 testrun.setTracerType(tracer)
|
/linux-4.4.14/security/smack/ |
D | smack_lsm.c | 418 static int smk_ptrace_rule_check(struct task_struct *tracer, in smk_ptrace_rule_check() argument 429 smk_ad_setfield_u_tsk(&ad, tracer); in smk_ptrace_rule_check() 434 tsp = __task_cred(tracer)->security; in smk_ptrace_rule_check() 921 struct task_struct *tracer; in smack_bprm_set_creds() local 925 tracer = ptrace_parent(current); in smack_bprm_set_creds() 926 if (likely(tracer != NULL)) in smack_bprm_set_creds() 927 rc = smk_ptrace_rule_check(tracer, in smack_bprm_set_creds()
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-bus-coresight-devices-etm3x | 133 Depending on the tracer's version, can also hold threshold for 252 Description: (RO) Holds the cpu number this tracer is affined to.
|
/linux-4.4.14/security/selinux/ |
D | hooks.c | 2290 struct task_struct *tracer; in selinux_bprm_set_creds() local 2295 tracer = ptrace_parent(current); in selinux_bprm_set_creds() 2296 if (likely(tracer != NULL)) { in selinux_bprm_set_creds() 2297 sec = __task_cred(tracer)->security; in selinux_bprm_set_creds() 5610 struct task_struct *tracer; in selinux_setprocattr() local 5719 tracer = ptrace_parent(p); in selinux_setprocattr() 5720 if (tracer) in selinux_setprocattr() 5721 ptsid = task_sid(tracer); in selinux_setprocattr() 5724 if (tracer) { in selinux_setprocattr()
|
/linux-4.4.14/arch/ |
D | Kconfig | 93 If function tracer is enabled and the arch supports full 242 For example the kprobes-based event tracer needs this API.
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-probe.txt | 157 …h fixed index (e.g. array[1], var->array[0], var->pointer[2]), or kprobe-tracer argument format (e…
|
/linux-4.4.14/tools/perf/ |
D | design.txt | 145 tracer is available, and event_id values can be obtained from
|
/linux-4.4.14/Documentation/ |
D | kernel-parameters.txt | 1202 ftrace=[tracer] 1203 [FTRACE] will set and start the specified tracer 1216 tracer at boot up. function-list is a comma separated 1229 by the function graph tracer at boot up. 3573 Enabled the stack tracer on boot up. 3576 [FTRACE] Limit the functions that the stack tracer 3772 [FTRACE] Enable or disable tracer options at boot.
|
/linux-4.4.14/Documentation/vm/ |
D | transhuge.txt | 263 tracer to record how long was spent in __alloc_pages_nodemask and
|
/linux-4.4.14/Documentation/sound/alsa/ |
D | HD-Audio.txt | 618 # tracer: nop
|