| /linux/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| A D | fw_tracer.c | 841 struct mlx5_fw_tracer *tracer = dev->tracer; in mlx5_fw_tracer_trigger_core_dump_general() local 855 queue_work(tracer->work_queue, &tracer->handle_traces_work); in mlx5_fw_tracer_trigger_core_dump_general() 940 tracer = kvzalloc(sizeof(*tracer), GFP_KERNEL); in mlx5_fw_tracer_create() 941 if (!tracer) in mlx5_fw_tracer_create() 979 return tracer; in mlx5_fw_tracer_create() 987 kvfree(tracer); in mlx5_fw_tracer_create() 1047 mlx5_eq_notifier_unregister(tracer->dev, &tracer->nb); in mlx5_fw_tracer_cleanup() 1054 mlx5_core_destroy_mkey(tracer->dev, tracer->buff.mkey); in mlx5_fw_tracer_cleanup() 1055 mlx5_core_dealloc_pd(tracer->dev, tracer->buff.pdn); in mlx5_fw_tracer_cleanup() 1073 kvfree(tracer); in mlx5_fw_tracer_destroy() [all …]
|
| A D | fw_tracer_tracepoint.h | 44 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));
|
| A D | fw_tracer.h | 188 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/security/apparmor/ |
| A D | ipc.c | 77 struct aa_label *tracer, u32 request, in profile_tracee_perm() argument 80 if (profile_unconfined(tracee) || unconfined(tracer) || in profile_tracee_perm() 84 return profile_ptrace_perm(tracee, tracer, request, sa); in profile_tracee_perm() 87 static int profile_tracer_perm(struct aa_profile *tracer, in profile_tracer_perm() argument 91 if (profile_unconfined(tracer)) in profile_tracer_perm() 94 if (PROFILE_MEDIATES(tracer, AA_CLASS_PTRACE)) in profile_tracer_perm() 95 return profile_ptrace_perm(tracer, tracee, request, sa); in profile_tracer_perm() 98 if (&tracer->label == tracee) in profile_tracer_perm() 101 aad(sa)->label = &tracer->label; in profile_tracer_perm() 125 return xcheck_labels(tracer, tracee, profile, in aa_may_ptrace() [all …]
|
| /linux/security/yama/ |
| A D | yama_lsm.c | 31 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/tools/testing/selftests/ftrace/test.d/direct/ |
| A D | ftrace-direct.tc | 19 tracer=$1 22 echo $tracer > current_tracer 28 echo $tracer > current_tracer 35 echo $tracer > current_tracer 41 echo $tracer > current_tracer
|
| /linux/tools/perf/Documentation/ |
| A D | perf-ftrace.txt | 26 --tracer=:: 74 Select function tracer and set function filter on the given 82 Select function tracer and do not trace functions given by the 89 call-graph - Display kernel stack trace for function tracer. 90 irq-info - Display irq context info for function tracer. 94 Select function_graph tracer and set graph filter on the given 102 Select function_graph tracer and set graph notrace filter on the 104 for the function_graph tracer only and disables tracing for function 111 nosleep-time - Measure on-CPU time only for function_graph tracer. 115 depth=<n> - Set max depth for function graph tracer to follow.
|
| /linux/samples/seccomp/ |
| A D | user-trap.c | 204 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/Documentation/firmware-guide/acpi/ |
| A D | method-tracing.rst | 77 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/Documentation/trace/ |
| A D | ftrace.rst | 365 tracer, or if configured, the function graph tracer. It will 736 The block tracer. The tracer used by the blktrace user 1247 tracer along with the currently set tracer. Enabling this 1701 tracer. 2235 Note, when hwlat tracer is finished (another tracer is 2258 This tracer is the function tracer. Enabling the function tracer 2455 This tracer is similar to the function tracer except that it 2976 function tracer and the function-graph-tracer, there are some 3327 # tracer: nop 3344 # tracer: nop [all …]
|
| A D | timerlat-tracer.rst | 2 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. 110 the values reported by the timerlat tracer (timerlat_latency) 113 The art below illustrates a CPU timeline and how the timerlat tracer
|
| A D | osnoise-tracer.rst | 28 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
|
| A D | index.rst | 26 osnoise-tracer 27 timerlat-tracer
|
| A D | hwlat_detector.rst | 8 The tracer hwlat_detector is a special purpose tracer that is used to 56 (0.5s). If tracing_thresh contains zero when hwlat tracer is enabled, it will 65 back to zero if another tracer is loaded. Note, the last value in
|
| A D | boottime-trace.rst | 47 Set MAX_DEPTH to maximum depth of fgraph tracer. 84 ftrace.[instance.INSTANCE.]tracer = TRACER 85 Set TRACER to current tracer on boot. (e.g. function) 248 several tracers for different purpose at once. For example, one tracer 254 tracer = "function" 258 tracer = "function" 272 tracer = function_graph
|
| /linux/kernel/trace/ |
| A D | trace.h | 178 struct tracer; 192 struct tracer *tracer; member 347 struct tracer *current_trace; 492 struct tracer *trace; 526 struct tracer { struct 547 int (*selftest)(struct tracer *trace, argument 558 struct tracer *next; argument 576 int tracer_init(struct tracer *t, struct trace_array *tr); argument 649 int register_tracer(struct tracer *type); 1247 extern struct tracer nop_trace; [all …]
|
| A D | Kconfig | 253 then it will not have any overhead while the stack tracer 259 The stack tracer can also be enabled or disabled via the 356 periodically non responsive. Do not run this tracer on a 364 bool "OS Noise tracer" 398 bool "Timerlat tracer" 419 The tracer is build on top of osnoise tracer, and the osnoise: 443 This tracer hooks to various trace points in the kernel, 453 Basic tracer to catch the syscall entry and exit events. 518 This tracer profiles all likely and unlikely macros 530 This tracer profiles all branch conditions. Every if () [all …]
|
| A D | trace_selftest.c | 97 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() 798 trace_selftest_startup_function_graph(struct tracer *trace, in trace_selftest_startup_function_graph() 915 trace_selftest_startup_irqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_irqsoff() 964 trace_selftest_startup_preemptoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptoff() 1026 trace_selftest_startup_preemptirqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptirqsoff() 1127 trace_selftest_startup_nop(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_nop() 1179 trace_selftest_startup_wakeup(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_wakeup() 1257 trace_selftest_startup_branch(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_branch()
|
| A D | trace_irqsoff.c | 513 struct tracer *tracer = tr->current_trace; in irqsoff_flag_changed() local 523 return trace_keep_overwrite(tracer, mask, set); in irqsoff_flag_changed() 634 static struct tracer irqsoff_tracer __read_mostly = 680 static struct tracer preemptoff_tracer __read_mostly = 715 static struct tracer preemptirqsoff_tracer __read_mostly =
|
| A D | trace_sched_wakeup.c | 313 struct tracer *tracer = tr->current_trace; in wakeup_flag_changed() local 323 return trace_keep_overwrite(tracer, mask, set); in wakeup_flag_changed() 739 static struct tracer wakeup_tracer __read_mostly = 759 static struct tracer wakeup_rt_tracer __read_mostly = 779 static struct tracer wakeup_dl_tracer __read_mostly =
|
| /linux/tools/perf/ |
| A D | builtin-ftrace.c | 39 const char *tracer; member 611 if (write_tracing_file("current_tracer", ftrace->tracer) < 0) { in __cmd_ftrace() 612 pr_err("failed to set current_tracer to %s\n", ftrace->tracer); in __cmd_ftrace() 708 ftrace->tracer = value; in perf_ftrace_config() 867 ftrace->tracer = "function_graph"; in select_tracer() 869 ftrace->tracer = "function"; in select_tracer() 872 pr_debug("%s tracer is used\n", ftrace->tracer); in select_tracer() 879 .tracer = DEFAULT_TRACER, in cmd_ftrace() 888 OPT_STRING('t', "tracer", &ftrace.tracer, "tracer", in cmd_ftrace()
|
| /linux/tools/testing/ktest/examples/bootconfigs/ |
| A D | tracing.bconf | 2 tracer = function_graph; 26 tracer = function;
|
| A D | boottrace.bconf | 35 tracer = "function" 44 tracer = "function"
|
| /linux/Documentation/userspace-api/ |
| A D | seccomp_filter.rst | 132 notify a ``ptrace()``-based tracer prior to executing the system 133 call. If there is no tracer present, ``-ENOSYS`` is returned to 136 A tracer will be notified if it requests ``PTRACE_O_TRACESECCOMP`` 137 using ``ptrace(PTRACE_SETOPTIONS)``. The tracer will be notified 139 the BPF program return value will be available to the tracer 142 The tracer can skip the system call by changing the syscall number 143 to -1. Alternatively, the tracer can change the system call 145 the tracer asks to skip the system call, then the system call will 146 appear to return the value that the tracer puts in the return value 149 The seccomp check will not be run again after the tracer is [all …]
|
| /linux/tools/testing/selftests/ftrace/test.d/ |
| A D | functions | 13 reset_tracer() { # reset the current tracer 108 # As the initial state, ftrace will be set to nop tracer, 146 t=${i%:tracer} 149 echo "Required tracer $t is not configured."
|