Home
last modified time | relevance | path

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

12345

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c37 static int mlx5_query_mtrc_caps(struct mlx5_fw_tracer *tracer) in mlx5_query_mtrc_caps() argument
39 u32 *string_db_base_address_out = tracer->str_db.base_address_out; in mlx5_query_mtrc_caps()
40 u32 *string_db_size_out = tracer->str_db.size_out; in mlx5_query_mtrc_caps()
41 struct mlx5_core_dev *dev = tracer->dev; in mlx5_query_mtrc_caps()
60 tracer->trc_ver = MLX5_GET(mtrc_cap, out, trc_ver); in mlx5_query_mtrc_caps()
61 tracer->str_db.first_string_trace = in mlx5_query_mtrc_caps()
63 tracer->str_db.num_string_trace = in mlx5_query_mtrc_caps()
65 tracer->str_db.num_string_db = MLX5_GET(mtrc_cap, out, num_string_db); in mlx5_query_mtrc_caps()
66 tracer->owner = !!MLX5_GET(mtrc_cap, out, trace_owner); in mlx5_query_mtrc_caps()
68 for (i = 0; i < tracer->str_db.num_string_db; i++) { in mlx5_query_mtrc_caps()
[all …]
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))
59 dev_name(tracer->dev->device));
Dfw_tracer.h188 int mlx5_fw_tracer_init(struct mlx5_fw_tracer *tracer);
189 void mlx5_fw_tracer_cleanup(struct mlx5_fw_tracer *tracer);
190 void mlx5_fw_tracer_destroy(struct mlx5_fw_tracer *tracer);
192 int mlx5_fw_tracer_get_saved_traces_objects(struct mlx5_fw_tracer *tracer,
194 int mlx5_fw_tracer_reload(struct mlx5_fw_tracer *tracer);
/linux-6.1.9/security/apparmor/
Dtask.c242 struct aa_label *tracer, u32 request, in profile_tracee_perm() argument
245 if (profile_unconfined(tracee) || unconfined(tracer) || in profile_tracee_perm()
249 return profile_ptrace_perm(tracee, tracer, request, sa); in profile_tracee_perm()
252 static int profile_tracer_perm(struct aa_profile *tracer, in profile_tracer_perm() argument
256 if (profile_unconfined(tracer)) in profile_tracer_perm()
259 if (PROFILE_MEDIATES(tracer, AA_CLASS_PTRACE)) in profile_tracer_perm()
260 return profile_ptrace_perm(tracer, tracee, request, sa); in profile_tracer_perm()
263 if (&tracer->label == tracee) in profile_tracer_perm()
266 aad(sa)->label = &tracer->label; in profile_tracer_perm()
269 aad(sa)->error = aa_capable(&tracer->label, CAP_SYS_PTRACE, in profile_tracer_perm()
[all …]
/linux-6.1.9/security/yama/
Dyama_lsm.c31 struct task_struct *tracer; member
141 static int yama_ptracer_add(struct task_struct *tracer, in yama_ptracer_add() argument
151 added->tracer = tracer; in yama_ptracer_add()
179 static void yama_ptracer_del(struct task_struct *tracer, in yama_ptracer_del() argument
190 (tracer && relation->tracer == tracer)) { in yama_ptracer_del()
247 struct task_struct *tracer; in yama_task_prctl() local
249 tracer = find_get_task_by_vpid(arg2); in yama_task_prctl()
250 if (!tracer) { in yama_task_prctl()
253 rc = yama_ptracer_add(tracer, myself); in yama_task_prctl()
254 put_task_struct(tracer); in yama_task_prctl()
[all …]
/linux-6.1.9/tools/testing/selftests/ftrace/test.d/direct/
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-6.1.9/Documentation/tools/rtla/
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>
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>
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
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>
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>
Drtla-timerlat-hist.rst19 The **rtla timerlat hist** displays a histogram of each tracer event
38 *1ms* period is also passed to the *timerlat* tracer::
102 *timerlat* tracer documentation: <https://www.kernel.org/doc/html/latest/trace/timerlat-tracer.html>
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
Drtla-timerlat-top.rst20 from the *timerlat* tracer. It also provides information for each
36 In the example below, the *timerlat* tracer is set to capture the stack trace at
130 Note that **rtla timerlat** was dispatched without changing *timerlat* tracer
139 *timerlat* tracer documentation: <https://www.kernel.org/doc/html/latest/trace/timerlat-tracer.html>
/linux-6.1.9/tools/perf/Documentation/
Dperf-ftrace.txt61 --tracer=::
84 Select function tracer and set function filter on the given
92 Select function tracer and do not trace functions given by the
99 call-graph - Display kernel stack trace for function tracer.
100 irq-info - Display irq context info for function tracer.
104 Select function_graph tracer and set graph filter on the given
112 Select function_graph tracer and set graph notrace filter on the
114 for the function_graph tracer only and disables tracing for function
121 nosleep-time - Measure on-CPU time only for function_graph tracer.
125 depth=<n> - Set max depth for function graph tracer to follow.
[all …]
/linux-6.1.9/samples/seccomp/
Duser-trap.c204 pid_t worker = 0 , tracer = 0; in main() local
282 tracer = fork(); in main()
283 if (tracer < 0) { in main()
288 if (tracer == 0) { in main()
366 if (tracer > 0) in main()
367 kill(tracer, SIGKILL); in main()
/linux-6.1.9/Documentation/firmware-guide/acpi/
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-6.1.9/Documentation/trace/
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
Dftrace.rst21 Ftrace is an internal tracer designed to help out developers and
26 Although ftrace is typically considered the function tracer, it
97 This is used to set or display the current tracer
98 that is configured. Changing the current tracer clears
112 the tracer or 1 to enable it. Note, this only disables
131 (no tracer running, or tracing_on is zero), it will produce
146 "trace" file is static, and if the tracer is not
154 files. Options also exist to modify how a tracer
257 Have the function tracer only trace the threads whose PID are
263 traced by the function tracer as well. This option will also
[all …]
Dindex.rst27 osnoise-tracer
28 timerlat-tracer
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:
116 In addition to the tracer, a set of tracepoints were added to
/linux-6.1.9/kernel/trace/
Dtrace.h180 struct tracer;
194 struct tracer *tracer; member
348 struct tracer *current_trace;
493 struct tracer *trace;
527 struct tracer { struct
548 int (*selftest)(struct tracer *trace, argument
559 struct tracer *next; argument
577 int tracer_init(struct tracer *t, struct trace_array *tr); argument
651 int register_tracer(struct tracer *type);
740 extern int trace_selftest_startup_function(struct tracer *trace,
[all …]
Dtrace_selftest.c97 static inline void warn_failed_init_tracer(struct tracer *trace, int init_ret) in warn_failed_init_tracer()
356 static int trace_selftest_startup_dynamic_tracing(struct tracer *trace, in trace_selftest_startup_dynamic_tracing()
691 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_function()
796 trace_selftest_startup_function_graph(struct tracer *trace, in trace_selftest_startup_function_graph()
916 trace_selftest_startup_irqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_irqsoff()
965 trace_selftest_startup_preemptoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptoff()
1027 trace_selftest_startup_preemptirqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptirqsoff()
1128 trace_selftest_startup_nop(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_nop()
1180 trace_selftest_startup_wakeup(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_wakeup()
1258 trace_selftest_startup_branch(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_branch()
DKconfig137 # All tracer options should select GENERIC_TRACER. For those options that are
138 # enabled by all tracers (context switch and event tracer) they select TRACING.
139 # This allows those options to appear when no other tracer is selected. But the
200 sequence is then dynamically patched into a tracer call when
294 This special tracer records the maximum stack footprint of the
297 This tracer works by hooking into every function call that the
300 then it will not have any overhead while the stack tracer
303 To enable the stack tracer on bootup, pass in 'stacktrace'
306 The stack tracer can also be enabled or disabled via the
372 This tracer tracks the latency of the highest priority task
[all …]
/linux-6.1.9/tools/testing/ktest/examples/bootconfigs/
Dtracing.bconf2 tracer = function_graph;
26 tracer = function;

12345