Searched refs:tracer (Results 1 - 25 of 51) sorted by relevance

123

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/security/apparmor/include/
H A Dipc.h22 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,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/security/apparmor/include/
H A Dipc.h22 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,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/security/apparmor/
H A Dipc.c53 * aa_may_ptrace - test if tracer task can trace the tracee
55 * @tracer: profile of the task doing the tracing (NOT NULL)
61 int aa_may_ptrace(struct task_struct *tracer_task, struct aa_profile *tracer, argument
69 if (unconfined(tracer) || tracer == tracee)
72 return aa_capable(tracer_task, tracer, CAP_SYS_PTRACE, 1);
77 * @tracer: task doing the tracing (NOT NULL)
83 int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee, argument
87 * tracer can ptrace tracee when
88 * - tracer i
[all...]
H A Ddomain.c64 struct task_struct *tracer; local
70 tracer = tracehook_tracer_task(task);
71 if (tracer) {
73 cred = get_task_cred(tracer);
79 if (!tracer || unconfined(tracerp))
82 error = aa_may_ptrace(tracer, tracerp, to_profile, PTRACE_MODE_ATTACH);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/security/apparmor/
H A Dipc.c53 * aa_may_ptrace - test if tracer task can trace the tracee
55 * @tracer: profile of the task doing the tracing (NOT NULL)
61 int aa_may_ptrace(struct task_struct *tracer_task, struct aa_profile *tracer, argument
69 if (unconfined(tracer) || tracer == tracee)
72 return aa_capable(tracer_task, tracer, CAP_SYS_PTRACE, 1);
77 * @tracer: task doing the tracing (NOT NULL)
83 int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee, argument
87 * tracer can ptrace tracee when
88 * - tracer i
[all...]
H A Ddomain.c64 struct task_struct *tracer; local
70 tracer = tracehook_tracer_task(task);
71 if (tracer) {
73 cred = get_task_cred(tracer);
79 if (!tracer || unconfined(tracerp))
82 error = aa_may_ptrace(tracer, tracerp, to_profile, PTRACE_MODE_ATTACH);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/arm/kernel/
H A Detm.c33 static struct tracectx tracer; variable in typeref:struct:tracectx
195 struct tracectx *t = &tracer;
235 dev_dbg(tracer.dev, "Dumping ETB buffer\n");
247 if (!tracer.etb_regs)
250 file->private_data = &tracer;
327 struct tracectx *t = &tracer;
420 return sprintf(buf, "%x\n", trace_isrunning(&tracer));
433 mutex_lock(&tracer.mutex);
434 ret = value ? trace_start(&tracer) : trace_stop(&tracer);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/kernel/
H A Detm.c33 static struct tracectx tracer; variable in typeref:struct:tracectx
195 struct tracectx *t = &tracer;
235 dev_dbg(tracer.dev, "Dumping ETB buffer\n");
247 if (!tracer.etb_regs)
250 file->private_data = &tracer;
327 struct tracectx *t = &tracer;
420 return sprintf(buf, "%x\n", trace_isrunning(&tracer));
433 mutex_lock(&tracer.mutex);
434 ret = value ? trace_start(&tracer) : trace_stop(&tracer);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/kernel/trace/
H A Dtrace_selftest.c74 * If the calling tracer is broken, and is constantly filling
95 static inline void warn_failed_init_tracer(struct tracer *trace, int init_ret)
97 printk(KERN_WARNING "Failed to init %s tracer, init returned %d\n",
105 int trace_selftest_startup_dynamic_tracing(struct tracer *trace,
193 * Simple verification test of ftrace function tracer.
198 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr)
266 printk(KERN_WARNING "BUG: Function graph tracer hang!\n");
276 * Pretty much the same than for the function tracer from which the selftest
280 trace_selftest_startup_function_graph(struct tracer *trace,
324 /* Don't test dynamic tracing, the function tracer alread
[all...]
H A Dtrace.h204 * An option specific to a tracer. This is a boolean value.
214 * The set of specific options for a tracer. Your tracer
222 /* Makes more easy to define a tracer opt */
227 * struct tracer - a specific tracer and its callbacks to interact with debugfs
229 * @init: called when one switches to this tracer (echo name > current_tracer)
230 * @reset: called when one switches to another tracer
246 struct tracer { struct
267 int (*selftest)(struct tracer *trac
[all...]
H A Dtrace_nop.c2 * nop tracer
21 /* Options for the tracer (see trace_options file) */
89 struct tracer nop_trace __read_mostly =
H A Dtrace_branch.c24 static struct tracer branch_trace;
179 static struct tracer branch_trace __read_mostly =
H A Dtrace_sched_wakeup.c40 * irqsoff uses its own tracer function to keep the overhead down:
374 static struct tracer wakeup_tracer __read_mostly =
388 static struct tracer wakeup_rt_tracer __read_mostly =
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/kernel/trace/
H A Dtrace_selftest.c74 * If the calling tracer is broken, and is constantly filling
95 static inline void warn_failed_init_tracer(struct tracer *trace, int init_ret)
97 printk(KERN_WARNING "Failed to init %s tracer, init returned %d\n",
105 int trace_selftest_startup_dynamic_tracing(struct tracer *trace,
193 * Simple verification test of ftrace function tracer.
198 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr)
266 printk(KERN_WARNING "BUG: Function graph tracer hang!\n");
276 * Pretty much the same than for the function tracer from which the selftest
280 trace_selftest_startup_function_graph(struct tracer *trace,
324 /* Don't test dynamic tracing, the function tracer alread
[all...]
H A Dtrace.h204 * An option specific to a tracer. This is a boolean value.
214 * The set of specific options for a tracer. Your tracer
222 /* Makes more easy to define a tracer opt */
227 * struct tracer - a specific tracer and its callbacks to interact with debugfs
229 * @init: called when one switches to this tracer (echo name > current_tracer)
230 * @reset: called when one switches to another tracer
246 struct tracer { struct
267 int (*selftest)(struct tracer *trac
[all...]
H A Dtrace_nop.c2 * nop tracer
21 /* Options for the tracer (see trace_options file) */
89 struct tracer nop_trace __read_mostly =
H A Dtrace_branch.c24 static struct tracer branch_trace;
179 static struct tracer branch_trace __read_mostly =
H A Dtrace_sched_wakeup.c40 * irqsoff uses its own tracer function to keep the overhead down:
374 static struct tracer wakeup_tracer __read_mostly =
388 static struct tracer wakeup_rt_tracer __read_mostly =
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/lighttpd-1.4.39/external_file/js_src/jplayer.2.6.0/actionscript/happyworm/jPlayer/
H A DTraceOut.as45 tracer("<< Successful Connection To Event Logger >>");
46 tracer("DEBUG INFO: \n<"+Capabilities.serverString + ">\nFlash Player Version: " + Capabilities.version + "\n");
56 public function tracer(msg:String):void
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/lighttpd-1.4.39/external_file/js_src/jplayer.2.6.0/actionscript/happyworm/jPlayer/
H A DTraceOut.as45 tracer("<< Successful Connection To Event Logger >>");
46 tracer("DEBUG INFO: \n<"+Capabilities.serverString + ">\nFlash Player Version: " + Capabilities.version + "\n");
56 public function tracer(msg:String):void
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/lighttpd-1.4.39/external_file/js_src/jplayer.2.6.0/actionscript/happyworm/jPlayer/
H A DTraceOut.as45 tracer("<< Successful Connection To Event Logger >>");
46 tracer("DEBUG INFO: \n<"+Capabilities.serverString + ">\nFlash Player Version: " + Capabilities.version + "\n");
56 public function tracer(msg:String):void
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/kernel/
H A Dptrace.c41 * Turn a tracing stop into a normal stop now, since with no tracer there
273 static bool __ptrace_detach(struct task_struct *tracer, struct task_struct *p) argument
279 if (!same_thread_group(p->real_parent, tracer))
281 else if (ignoring_children(tracer->sighand)) {
282 __wake_up_parent(p, tracer);
331 void exit_ptrace(struct task_struct *tracer) argument
336 if (likely(list_empty(&tracer->ptraced)))
339 list_for_each_entry_safe(p, n, &tracer->ptraced, ptrace_entry) {
340 if (__ptrace_detach(tracer, p))
345 BUG_ON(!list_empty(&tracer
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/kernel/
H A Dptrace.c41 * Turn a tracing stop into a normal stop now, since with no tracer there
273 static bool __ptrace_detach(struct task_struct *tracer, struct task_struct *p) argument
279 if (!same_thread_group(p->real_parent, tracer))
281 else if (ignoring_children(tracer->sighand)) {
282 __wake_up_parent(p, tracer);
331 void exit_ptrace(struct task_struct *tracer) argument
336 if (likely(list_empty(&tracer->ptraced)))
339 list_for_each_entry_safe(p, n, &tracer->ptraced, ptrace_entry) {
340 if (__ptrace_detach(tracer, p))
345 BUG_ON(!list_empty(&tracer
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/
H A Dftrace_event.h11 struct tracer;
52 struct tracer *trace;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/
H A Dftrace_event.h11 struct tracer;
52 struct tracer *trace;

Completed in 128 milliseconds

123