/linux-2.6.39/arch/arm/kernel/ |
D | etm.c | 48 static struct tracectx tracer; variable 210 struct tracectx *t = &tracer; in etm_dump() 250 dev_dbg(tracer.dev, "Dumping ETB buffer\n"); in sysrq_etm_dump() 262 if (!tracer.etb_regs) in etb_open() 265 file->private_data = &tracer; in etb_open() 343 struct tracectx *t = &tracer; in etb_probe() 436 return sprintf(buf, "%x\n", trace_isrunning(&tracer)); in trace_running_show() 449 mutex_lock(&tracer.mutex); in trace_running_store() 450 ret = value ? trace_start(&tracer) : trace_stop(&tracer); in trace_running_store() 451 mutex_unlock(&tracer.mutex); in trace_running_store() [all …]
|
/linux-2.6.39/security/apparmor/ |
D | ipc.c | 61 int aa_may_ptrace(struct task_struct *tracer_task, struct aa_profile *tracer, in aa_may_ptrace() argument 69 if (unconfined(tracer) || tracer == tracee) in aa_may_ptrace() 72 return aa_capable(tracer_task, tracer, CAP_SYS_PTRACE, 1); in aa_may_ptrace() 83 int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee, in aa_ptrace() argument 97 const struct cred *cred = get_task_cred(tracer); in aa_ptrace() 106 error = aa_may_ptrace(tracer, tracer_p, tracee_p, mode); in aa_ptrace()
|
D | domain.c | 64 struct task_struct *tracer; in may_change_ptraced_domain() local 70 tracer = tracehook_tracer_task(task); in may_change_ptraced_domain() 71 if (tracer) { in may_change_ptraced_domain() 73 cred = get_task_cred(tracer); in may_change_ptraced_domain() 79 if (!tracer || unconfined(tracerp)) in may_change_ptraced_domain() 82 error = aa_may_ptrace(tracer, tracerp, to_profile, PTRACE_MODE_ATTACH); in may_change_ptraced_domain()
|
/linux-2.6.39/kernel/trace/ |
D | trace.h | 246 struct tracer { struct 267 int (*selftest)(struct tracer *trace, argument 274 struct tracer *next; argument 283 int tracer_init(struct tracer *t, struct trace_array *tr); argument 363 int register_tracer(struct tracer *type); 364 void unregister_tracer(struct tracer *type); 429 extern int trace_selftest_startup_function(struct tracer *trace, 431 extern int trace_selftest_startup_function_graph(struct tracer *trace, 433 extern int trace_selftest_startup_irqsoff(struct tracer *trace, 435 extern int trace_selftest_startup_preemptoff(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() 105 int trace_selftest_startup_dynamic_tracing(struct tracer *trace, in trace_selftest_startup_dynamic_tracing() 198 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_function() 280 trace_selftest_startup_function_graph(struct tracer *trace, in trace_selftest_startup_function_graph() 338 trace_selftest_startup_irqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_irqsoff() 387 trace_selftest_startup_preemptoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptoff() 449 trace_selftest_startup_preemptirqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptirqsoff() 550 trace_selftest_startup_nop(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_nop() 586 trace_selftest_startup_wakeup(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_wakeup() 662 trace_selftest_startup_sched_switch(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_sched_switch() [all …]
|
D | Kconfig | 96 # All tracer options should select GENERIC_TRACER. For those options that are 97 # enabled by all tracers (context switch and event tracer) they select TRACING. 98 # This allows those options to appear when no other tracer is selected. But the 152 sequence is then dynamically patched into a tracer call when 223 This tracer tracks the latency of the highest priority task 231 This tracer hooks to various trace points in the kernel, 233 want to trace. It also includes the sched_switch tracer plugin. 241 Basic tracer to catch the syscall entry and exit events. 275 This tracer profiles all the the likely and unlikely macros 287 This tracer profiles all branch conditions. Every if () [all …]
|
D | trace.c | 243 static struct tracer *trace_types __read_mostly; 246 static struct tracer *current_trace __read_mostly; 725 int register_tracer(struct tracer *type) in register_tracer() 729 struct tracer *t; in register_tracer() 769 struct tracer *saved_tracer = current_trace; in register_tracer() 835 void unregister_tracer(struct tracer *type) in unregister_tracer() 837 struct tracer **t; in unregister_tracer() 1691 static struct tracer *old_tracer; in s_start() 1778 struct tracer *type = current_trace; in print_trace_header() 2281 struct tracer *t = v; in t_next() [all …]
|
D | trace_nop.c | 89 struct tracer nop_trace __read_mostly =
|
D | trace_irqsoff.c | 585 static struct tracer irqsoff_tracer __read_mostly = 618 static struct tracer preemptoff_tracer __read_mostly = 653 static struct tracer preemptirqsoff_tracer __read_mostly =
|
D | trace_branch.c | 24 static struct tracer branch_trace; 179 static struct tracer branch_trace __read_mostly =
|
D | trace_sched_wakeup.c | 570 static struct tracer wakeup_tracer __read_mostly = 590 static struct tracer wakeup_rt_tracer __read_mostly =
|
D | trace_functions.c | 224 static struct tracer function_trace __read_mostly =
|
D | trace_mmiotrace.c | 289 static struct tracer mmio_tracer __read_mostly =
|
/linux-2.6.39/Documentation/trace/ |
D | ftrace.txt | 15 Ftrace is an internal tracer designed to help out developers and 20 Although ftrace is the function tracer, it also includes an 22 the tracers that are currently in ftrace include a tracer to 25 disabled, and more (ftrace allows for tracer plugins, which 73 This is used to set or display the current tracer 87 the tracer or 1 to enable it. 104 "trace" file is static, and if the tracer is not 127 buffer can hold. The tracer buffers are the same size 170 Have the function tracer only trace a single thread. 175 with the function graph tracer (See the section [all …]
|
D | kprobetrace.txt | 17 Similar to the events tracer, this doesn't need to be activated via 53 Several types are supported for fetch-args. Kprobe tracer will access memory 157 # 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 349 will be patched to call ftrace_caller(). Second, since we only have one tracer 351 specific tracer in question. That is the point of the ftrace_call label. 380 The last function is used to do runtime patching of the active tracer. This
|
/linux-2.6.39/security/apparmor/include/ |
D | ipc.h | 22 int aa_may_ptrace(struct task_struct *tracer_task, struct aa_profile *tracer, 25 int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee,
|
/linux-2.6.39/kernel/ |
D | ptrace.c | 277 static bool __ptrace_detach(struct task_struct *tracer, struct task_struct *p) in __ptrace_detach() argument 283 if (!same_thread_group(p->real_parent, tracer)) in __ptrace_detach() 285 else if (ignoring_children(tracer->sighand)) { in __ptrace_detach() 286 __wake_up_parent(p, tracer); in __ptrace_detach() 335 void exit_ptrace(struct task_struct *tracer) in exit_ptrace() argument 342 if (likely(list_empty(&tracer->ptraced))) in exit_ptrace() 345 list_for_each_entry_safe(p, n, &tracer->ptraced, ptrace_entry) { in exit_ptrace() 346 if (__ptrace_detach(tracer, p)) in exit_ptrace() 351 BUG_ON(!list_empty(&tracer->ptraced)); in exit_ptrace()
|
/linux-2.6.39/include/linux/ |
D | ftrace_event.h | 11 struct tracer; 52 struct tracer *trace;
|
D | ptrace.h | 115 extern void exit_ptrace(struct task_struct *tracer);
|
/linux-2.6.39/fs/proc/ |
D | array.c | 175 struct task_struct *tracer = tracehook_tracer_task(p); in task_state() local 176 if (tracer) in task_state() 177 tpid = task_pid_nr_ns(tracer, ns); in task_state()
|
/linux-2.6.39/drivers/net/wireless/ath/ath5k/ |
D | Kconfig | 44 bool "Atheros 5xxx tracer"
|
/linux-2.6.39/arch/x86/ |
D | Makefile_32.cpu | 52 # tracer assumptions. For i686, generic, core2 this is set by the
|
/linux-2.6.39/arch/ |
D | Kconfig | 136 For example the kprobes-based event tracer needs this API.
|
/linux-2.6.39/security/selinux/ |
D | hooks.c | 2031 struct task_struct *tracer; in selinux_bprm_set_creds() local 2036 tracer = tracehook_tracer_task(current); in selinux_bprm_set_creds() 2037 if (likely(tracer != NULL)) { in selinux_bprm_set_creds() 2038 sec = __task_cred(tracer)->security; in selinux_bprm_set_creds() 5205 struct task_struct *tracer; in selinux_setprocattr() local 5299 tracer = tracehook_tracer_task(p); in selinux_setprocattr() 5300 if (tracer) in selinux_setprocattr() 5301 ptsid = task_sid(tracer); in selinux_setprocattr() 5304 if (tracer) { in selinux_setprocattr()
|