Home
last modified time | relevance | path

Searched refs:tracer (Results 1 – 25 of 108) sorted by relevance

12345

/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
A Dfw_tracer.c873 struct mlx5_fw_tracer *tracer = dev->tracer; in mlx5_fw_tracer_trigger_core_dump_general() local
887 queue_work(tracer->work_queue, &tracer->handle_traces_work); in mlx5_fw_tracer_trigger_core_dump_general()
955 tracer = kvzalloc(sizeof(*tracer), GFP_KERNEL); in mlx5_fw_tracer_create()
956 if (!tracer) in mlx5_fw_tracer_create()
996 return tracer; in mlx5_fw_tracer_create()
1004 kvfree(tracer); in mlx5_fw_tracer_create()
1075 mlx5_eq_notifier_unregister(tracer->dev, &tracer->nb); in mlx5_fw_tracer_cleanup()
1086 mlx5_core_destroy_mkey(tracer->dev, tracer->buff.mkey); in mlx5_fw_tracer_cleanup()
1087 mlx5_core_dealloc_pd(tracer->dev, tracer->buff.pdn); in mlx5_fw_tracer_cleanup()
1108 kvfree(tracer); in mlx5_fw_tracer_destroy()
[all …]
A Dfw_tracer.h197 int mlx5_fw_tracer_init(struct mlx5_fw_tracer *tracer);
198 void mlx5_fw_tracer_cleanup(struct mlx5_fw_tracer *tracer);
199 void mlx5_fw_tracer_destroy(struct mlx5_fw_tracer *tracer);
201 int mlx5_fw_tracer_get_saved_traces_objects(struct mlx5_fw_tracer *tracer,
203 int mlx5_fw_tracer_reload(struct mlx5_fw_tracer *tracer);
A Dfw_tracer_tracepoint.h44 TP_PROTO(const struct mlx5_fw_tracer *tracer, u64 trace_timestamp,
47 TP_ARGS(tracer, trace_timestamp, lost, event_id, msg),
50 __string(dev_name, dev_name(tracer->dev->device))
/linux/tools/testing/selftests/net/tcp_ao/lib/
A Dftrace.c181 if (!tracer->error) in tracer_set_error()
201 while (tracer->next_line_ind < tracer->saved_lines_size) { in tracer_thread_func()
202 char **lp = &tracer->saved_lines[tracer->next_line_ind]; in tracer_thread_func()
281 if (tracer->error) in stop_trace_thread()
346 tracer = malloc(sizeof(*tracer)); in create_ftracer()
347 if (!tracer) { in create_ftracer()
352 memset(tracer, 0, sizeof(*tracer)); in create_ftracer()
406 return tracer; in create_ftracer()
417 free(tracer); in create_ftracer()
429 tracer->destructor(tracer); in __destroy_ftracer()
[all …]
/linux/security/yama/
A Dyama_lsm.c32 struct task_struct *tracer; member
143 static int yama_ptracer_add(struct task_struct *tracer, in yama_ptracer_add() argument
153 added->tracer = tracer; in yama_ptracer_add()
181 static void yama_ptracer_del(struct task_struct *tracer, in yama_ptracer_del() argument
192 (tracer && relation->tracer == tracer)) { in yama_ptracer_del()
249 struct task_struct *tracer; in yama_task_prctl() local
251 tracer = find_get_task_by_vpid(arg2); in yama_task_prctl()
252 if (!tracer) { in yama_task_prctl()
255 rc = yama_ptracer_add(tracer, myself); in yama_task_prctl()
256 put_task_struct(tracer); in yama_task_prctl()
[all …]
/linux/security/apparmor/
A Dtask.c245 struct aa_label *tracer, u32 request, in profile_tracee_perm() argument
248 if (profile_unconfined(tracee) || unconfined(tracer) || in profile_tracee_perm()
252 return profile_ptrace_perm(cred, tracee, tracer, request, ad); in profile_tracee_perm()
256 struct aa_profile *tracer, in profile_tracer_perm() argument
260 if (profile_unconfined(tracer)) in profile_tracer_perm()
263 if (ANY_RULE_MEDIATES(&tracer->rules, AA_CLASS_PTRACE)) in profile_tracer_perm()
267 if (&tracer->label == tracee) in profile_tracer_perm()
270 ad->subj_label = &tracer->label; in profile_tracer_perm()
273 ad->error = aa_capable(cred, &tracer->label, CAP_SYS_PTRACE, in profile_tracer_perm()
297 return xcheck_labels(tracer, tracee, profile, in aa_may_ptrace()
[all …]
/linux/tools/testing/selftests/ftrace/test.d/direct/
A Dftrace-direct.tc19 tracer=$1
22 echo $tracer > current_tracer
28 echo $tracer > current_tracer
35 echo $tracer > current_tracer
41 echo $tracer > current_tracer
/linux/Documentation/tools/rtla/
A Drtla-timerlat.rst19 The *timerlat* tracer outputs information in two ways. It periodically
23 from the *timerlat* tracer. The **rtla hist hist** mode displays a histogram
24 of each tracer event occurrence. For further details, please refer to the
31 Prints the summary from *timerlat* tracer.
51 *timerlat* tracer documentation: <https://www.kernel.org/doc/html/latest/trace/timerlat-tracer.html>
A Drtla-osnoise-hist.rst5 Display a histogram of the osnoise tracer samples
20 The tool also allows many configurations of the *osnoise* tracer and the
21 collection of the tracer output.
33 In the example below, *osnoise* tracer threads are set to run with real-time
60 *osnoise* tracer documentation: <https://www.kernel.org/doc/html/latest/trace/osnoise-tracer.html>
A Dcommon_osnoise_description.rst1 The **rtla osnoise** tool is an interface for the *osnoise* tracer. The
2 *osnoise* tracer dispatches a kernel thread per-cpu. These threads read the
5 The *osnoise*'s tracer threads take note of the delta between each time
7 At the end of each period, the *osnoise* tracer displays a summary of
A Drtla-osnoise.rst19 The *osnoise* tracer outputs information in two ways. It periodically prints
23 mode displays information about the periodic summary from the *osnoise* tracer.
32 Prints the summary from osnoise tracer.
53 Osnoise tracer documentation: <https://www.kernel.org/doc/html/latest/trace/osnoise-tracer.html>
A Drtla-osnoise-top.rst18 **rtla osnoise top** collects the periodic summary from the *osnoise* tracer,
22 The tool also allows many configurations of the *osnoise* tracer and the
23 collection of the tracer output.
55 Osnoise tracer documentation: <https://www.kernel.org/doc/html/latest/trace/osnoise-tracer.html>
A Drtla-timerlat-top.rst20 from the *timerlat* tracer. It also provides information for each
45 In the example below, the timerlat tracer is dispatched in cpus *1-23* in the
46 automatic trace mode, instructing the tracer to stop if a *40 us* latency or
119 Note that **rtla timerlat** was dispatched without changing *timerlat* tracer
128 *timerlat* tracer documentation: <https://www.kernel.org/doc/html/latest/trace/timerlat-tracer.html>
A Drtla-timerlat-hist.rst19 The **rtla timerlat hist** displays a histogram of each tracer event
40 *1ms* period is also passed to the *timerlat* tracer. Auto-analysis is disabled
105 *timerlat* tracer documentation: <https://www.kernel.org/doc/html/latest/trace/timerlat-tracer.html>
A Dcommon_timerlat_description.rst1 The **rtla timerlat** tool is an interface for the *timerlat* tracer. The
2 *timerlat* tracer dispatches a kernel thread per-cpu. These threads
7 The *timerlat* tracer outputs information in two ways. It periodically
A Drtla-hwnoise.rst20 **rtla hwnoise** collects the periodic summary from the *osnoise* tracer
25 The tool also allows the configurations of the *osnoise* tracer and the
26 collection of the tracer output.
101 Osnoise tracer documentation: <https://www.kernel.org/doc/html/latest/trace/osnoise-tracer.html>
/linux/tools/perf/Documentation/
A Dperf-ftrace.txt64 --tracer=::
87 Select function tracer and set function filter on the given
95 Select function tracer and do not trace functions given by the
103 - call-graph - Display kernel stack trace for function tracer.
104 - irq-info - Display irq context info for function tracer.
108 Select function_graph tracer and set graph filter on the given
116 Select function_graph tracer and set graph notrace filter on the
118 for the function_graph tracer only and disables tracing for function
126 - nosleep-time - Measure on-CPU time only for function_graph tracer.
130 - depth=<n> - Set max depth for function graph tracer to follow.
[all …]
/linux/samples/seccomp/
A Duser-trap.c208 pid_t worker = 0 , tracer = 0; in main() local
286 tracer = fork(); in main()
287 if (tracer < 0) { in main()
292 if (tracer == 0) { in main()
370 if (tracer > 0) in main()
371 kill(tracer, SIGKILL); in main()
/linux/Documentation/trace/
A Dosnoise-tracer.rst28 The osnoise tracer leverages the hwlat_detector by running a
33 osnoise tracer also saves an interference counter for each source of
39 source of interference. At the end of the period, the osnoise tracer
57 # tracer: osnoise
77 tracer prints a message at the end of each period for each CPU that is
83 by the osnoise tracer during the associated runtime.
98 The tracer has a set of options inside the osnoise directory, they are:
122 the osnoise tracer. These options are:
132 allowing only NMIs and hardware-related noise, like hwlat tracer.
137 In addition to the tracer, a set of tracepoints were added to
[all …]
A Dtimerlat-tracer.rst2 Timerlat tracer
5 The timerlat tracer aims to help the preemptive kernel developers to
7 the tracer sets a periodic timer that wakes up a thread. The thread then
26 # tracer: timerlat
46 The tracer creates a per-cpu kernel thread with real-time priority that
65 The timerlat tracer is built on top of osnoise tracer.
111 the values reported by the timerlat tracer (timerlat_latency)
114 The art below illustrates a CPU timeline and how the timerlat tracer
193 - timerlat tracer is enable
207 scheduled and report the thread latency via tracer - as for the kernel
[all …]
A Dftrace.rst432 tracer, or if configured, the function graph tracer. It will
815 The block tracer. The tracer used by the blktrace user
1344 tracer along with the currently set tracer. Enabling this
1811 tracer.
2345 Note, when hwlat tracer is finished (another tracer is
2368 This tracer is the function tracer. Enabling the function tracer
2565 This tracer is similar to the function tracer except that it
3199 function tracer and the function-graph-tracer, there are some
3550 # tracer: nop
3567 # tracer: nop
[all …]
A Dindex.rst28 osnoise-tracer
29 timerlat-tracer
/linux/Documentation/firmware-guide/acpi/
A Dmethod-tracing.rst77 AML tracer
102 that, as the "AML tracer" logs are implemented via ACPI_DEBUG_PRINT()
104 "AML tracer" logs.
106 The following command examples illustrate the usage of the "AML tracer"
109 a. Filter out the method start/stop "AML tracer" logs when control
117 b. Filter out the method start/stop "AML tracer" when the specified
126 c. Filter out the method start/stop "AML tracer" logs when the specified
135 d. Filter out the method/opcode start/stop "AML tracer" when the
144 e. Filter out the method/opcode start/stop "AML tracer" when the
176 used to match all "AML tracer" logs.
[all …]
/linux/kernel/trace/
A Dtrace.h207 struct tracer;
221 struct tracer *tracer; member
382 struct tracer *current_trace;
539 struct tracer *trace;
573 struct tracer { struct
594 int (*selftest)(struct tracer *trace, argument
605 struct tracer *next; argument
623 int tracer_init(struct tracer *t, struct trace_array *tr); argument
702 int register_tracer(struct tracer *type);
1361 extern struct tracer nop_trace;
[all …]
/linux/tools/testing/ktest/examples/bootconfigs/
A Dtracing.bconf2 tracer = function_graph;
26 tracer = function;

Completed in 50 milliseconds

12345