Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A 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()
50 mlx5_core_warn(dev, "FWTracer: Error reading tracer caps %d\n", 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 in mlx5_query_mtrc_caps()
81 mlx5_set_mtrc_caps_trace_owner(struct mlx5_fw_tracer *tracer, u32 *out, u32 out_size, u8 trace_owner) mlx5_set_mtrc_caps_trace_owner() argument
94 mlx5_fw_tracer_ownership_acquire(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_ownership_acquire() argument
116 mlx5_fw_tracer_ownership_release(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_ownership_release() argument
125 mlx5_fw_tracer_create_log_buf(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_create_log_buf() argument
164 mlx5_fw_tracer_destroy_log_buf(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_destroy_log_buf() argument
177 mlx5_fw_tracer_create_mkey(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_create_mkey() argument
219 mlx5_fw_tracer_free_strings_db(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_free_strings_db() argument
230 mlx5_fw_tracer_allocate_strings_db(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_allocate_strings_db() argument
252 mlx5_fw_tracer_init_saved_traces_array(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_init_saved_traces_array() argument
259 mlx5_fw_tracer_clean_saved_traces_array(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_clean_saved_traces_array() argument
266 struct mlx5_fw_tracer *tracer = container_of(work, struct mlx5_fw_tracer, mlx5_tracer_read_strings_db() local
366 mlx5_tracer_message_insert(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_message_insert() argument
382 mlx5_tracer_get_string(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_get_string() argument
453 mlx5_tracer_message_get(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_message_get() argument
462 poll_trace(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event, u64 *trace) poll_trace() argument
512 get_block_timestamp(struct mlx5_fw_tracer *tracer, u64 *ts_event) get_block_timestamp() argument
527 mlx5_fw_tracer_clean_print_hash(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_clean_print_hash() argument
539 mlx5_fw_tracer_clean_ready_list(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_clean_ready_list() argument
548 mlx5_fw_tracer_save_trace(struct mlx5_fw_tracer *tracer, u64 timestamp, bool lost, u8 event_id, char *msg) mlx5_fw_tracer_save_trace() argument
592 mlx5_tracer_handle_raw_string(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_handle_raw_string() argument
612 mlx5_tracer_handle_string_trace(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_handle_string_trace() argument
654 mlx5_tracer_handle_timestamp_trace(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_handle_timestamp_trace() argument
676 mlx5_tracer_handle_trace(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_handle_trace() argument
693 struct mlx5_fw_tracer *tracer = mlx5_fw_tracer_handle_traces() local
770 mlx5_fw_tracer_set_mtrc_conf(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_set_mtrc_conf() argument
791 mlx5_fw_tracer_set_mtrc_ctrl(struct mlx5_fw_tracer *tracer, u8 status, u8 arm) mlx5_fw_tracer_set_mtrc_ctrl() argument
811 mlx5_fw_tracer_start(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_start() argument
846 struct mlx5_fw_tracer *tracer = mlx5_fw_tracer_ownership_change() local
873 struct mlx5_fw_tracer *tracer = dev->tracer; mlx5_fw_tracer_trigger_core_dump_general() local
924 mlx5_fw_tracer_get_saved_traces_objects(struct mlx5_fw_tracer *tracer, struct devlink_fmsg *fmsg) mlx5_fw_tracer_get_saved_traces_objects() argument
963 struct mlx5_fw_tracer *tracer = mlx5_fw_tracer_update_db() local
972 struct mlx5_fw_tracer *tracer = NULL; mlx5_fw_tracer_create() local
1036 mlx5_fw_tracer_init(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_init() argument
1089 mlx5_fw_tracer_cleanup(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_cleanup() argument
1118 mlx5_fw_tracer_destroy(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_destroy() argument
1136 mlx5_fw_tracer_recreate_strings_db(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_recreate_strings_db() argument
1167 mlx5_fw_tracer_reload(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_reload() argument
1193 struct mlx5_fw_tracer *tracer = mlx5_nb_cof(nb, struct mlx5_fw_tracer, nb); fw_tracer_event() local
[all...]
H 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))
59 dev_name(tracer->dev->device));
H 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);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A 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()
50 mlx5_core_warn(dev, "FWTracer: Error reading tracer caps %d\n", 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 in mlx5_query_mtrc_caps()
81 mlx5_set_mtrc_caps_trace_owner(struct mlx5_fw_tracer *tracer, u32 *out, u32 out_size, u8 trace_owner) mlx5_set_mtrc_caps_trace_owner() argument
94 mlx5_fw_tracer_ownership_acquire(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_ownership_acquire() argument
116 mlx5_fw_tracer_ownership_release(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_ownership_release() argument
125 mlx5_fw_tracer_create_log_buf(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_create_log_buf() argument
164 mlx5_fw_tracer_destroy_log_buf(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_destroy_log_buf() argument
177 mlx5_fw_tracer_create_mkey(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_create_mkey() argument
219 mlx5_fw_tracer_free_strings_db(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_free_strings_db() argument
230 mlx5_fw_tracer_allocate_strings_db(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_allocate_strings_db() argument
250 mlx5_fw_tracer_init_saved_traces_array(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_init_saved_traces_array() argument
257 mlx5_fw_tracer_clean_saved_traces_array(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_clean_saved_traces_array() argument
264 struct mlx5_fw_tracer *tracer = container_of(work, struct mlx5_fw_tracer, mlx5_tracer_read_strings_db() local
362 mlx5_tracer_message_insert(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_message_insert() argument
378 mlx5_tracer_get_string(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_get_string() argument
447 mlx5_tracer_message_get(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_message_get() argument
456 poll_trace(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event, u64 *trace) poll_trace() argument
505 get_block_timestamp(struct mlx5_fw_tracer *tracer, u64 *ts_event) get_block_timestamp() argument
520 mlx5_fw_tracer_clean_print_hash(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_clean_print_hash() argument
532 mlx5_fw_tracer_clean_ready_list(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_clean_ready_list() argument
541 mlx5_fw_tracer_save_trace(struct mlx5_fw_tracer *tracer, u64 timestamp, bool lost, u8 event_id, char *msg) mlx5_fw_tracer_save_trace() argument
585 mlx5_tracer_handle_string_trace(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_handle_string_trace() argument
627 mlx5_tracer_handle_timestamp_trace(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_handle_timestamp_trace() argument
649 mlx5_tracer_handle_trace(struct mlx5_fw_tracer *tracer, struct tracer_event *tracer_event) mlx5_tracer_handle_trace() argument
666 struct mlx5_fw_tracer *tracer = mlx5_fw_tracer_handle_traces() local
743 mlx5_fw_tracer_set_mtrc_conf(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_set_mtrc_conf() argument
764 mlx5_fw_tracer_set_mtrc_ctrl(struct mlx5_fw_tracer *tracer, u8 status, u8 arm) mlx5_fw_tracer_set_mtrc_ctrl() argument
784 mlx5_fw_tracer_start(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_start() argument
819 struct mlx5_fw_tracer *tracer = mlx5_fw_tracer_ownership_change() local
846 struct mlx5_fw_tracer *tracer = dev->tracer; mlx5_fw_tracer_trigger_core_dump_general() local
897 mlx5_fw_tracer_get_saved_traces_objects(struct mlx5_fw_tracer *tracer, struct devlink_fmsg *fmsg) mlx5_fw_tracer_get_saved_traces_objects() argument
937 struct mlx5_fw_tracer *tracer = NULL; mlx5_fw_tracer_create() local
999 mlx5_fw_tracer_init(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_init() argument
1045 mlx5_fw_tracer_cleanup(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_cleanup() argument
1064 mlx5_fw_tracer_destroy(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_destroy() argument
1082 mlx5_fw_tracer_recreate_strings_db(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_recreate_strings_db() argument
1110 mlx5_fw_tracer_reload(struct mlx5_fw_tracer *tracer) mlx5_fw_tracer_reload() argument
1136 struct mlx5_fw_tracer *tracer = mlx5_nb_cof(nb, struct mlx5_fw_tracer, nb); fw_tracer_event() local
[all...]
H 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))
59 dev_name(tracer->dev->device));
H A 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);
/kernel/linux/linux-5.10/security/apparmor/
H A Dipc.c77 struct aa_label *tracer, u32 request, in profile_tracee_perm()
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()
104 aad(sa)->error = aa_capable(&tracer in profile_tracer_perm()
76 profile_tracee_perm(struct aa_profile *tracee, struct aa_label *tracer, u32 request, struct common_audit_data *sa) profile_tracee_perm() argument
118 aa_may_ptrace(struct aa_label *tracer, struct aa_label *tracee, u32 request) aa_may_ptrace() argument
[all...]
/kernel/linux/linux-6.6/security/apparmor/
H A Dtask.c248 struct aa_label *tracer, u32 request, in profile_tracee_perm()
251 if (profile_unconfined(tracee) || unconfined(tracer) || in profile_tracee_perm()
255 return profile_ptrace_perm(cred, tracee, tracer, request, ad); in profile_tracee_perm()
259 struct aa_profile *tracer, in profile_tracer_perm()
263 if (profile_unconfined(tracer)) in profile_tracer_perm()
266 if (ANY_RULE_MEDIATES(&tracer->rules, AA_CLASS_PTRACE)) in profile_tracer_perm()
267 return profile_ptrace_perm(cred, tracer, tracee, request, ad); in profile_tracer_perm()
270 if (&tracer->label == tracee) in profile_tracer_perm()
273 ad->subj_label = &tracer->label; in profile_tracer_perm()
276 ad->error = aa_capable(cred, &tracer in profile_tracer_perm()
246 profile_tracee_perm(const struct cred *cred, struct aa_profile *tracee, struct aa_label *tracer, u32 request, struct apparmor_audit_data *ad) profile_tracee_perm() argument
258 profile_tracer_perm(const struct cred *cred, struct aa_profile *tracer, struct aa_label *tracee, u32 request, struct apparmor_audit_data *ad) profile_tracer_perm() argument
290 aa_may_ptrace(const struct cred *tracer_cred, struct aa_label *tracer, const struct cred *tracee_cred, struct aa_label *tracee, u32 request) aa_may_ptrace() argument
[all...]
/kernel/linux/linux-5.10/security/yama/
H A Dyama_lsm.c31 struct task_struct *tracer; member
132 * yama_ptracer_add - add/replace an exception for this tracer/tracee pair
133 * @tracer: the task_struct of the process doing the ptrace
136 * Each tracee can have, at most, one tracer registered. Each time this
137 * is called, the prior registered tracer will be replaced for the tracee.
141 static int yama_ptracer_add(struct task_struct *tracer, in yama_ptracer_add() argument
151 added->tracer = tracer; in yama_ptracer_add()
176 * @tracer: remove any relation where tracer tas
179 yama_ptracer_del(struct task_struct *tracer, struct task_struct *tracee) yama_ptracer_del() argument
247 struct task_struct *tracer; yama_task_prctl() local
305 ptracer_exception_found(struct task_struct *tracer, struct task_struct *tracee) ptracer_exception_found() argument
[all...]
/kernel/linux/linux-6.6/security/yama/
H A Dyama_lsm.c31 struct task_struct *tracer; member
132 * yama_ptracer_add - add/replace an exception for this tracer/tracee pair
133 * @tracer: the task_struct of the process doing the ptrace
136 * Each tracee can have, at most, one tracer registered. Each time this
137 * is called, the prior registered tracer will be replaced for the tracee.
141 static int yama_ptracer_add(struct task_struct *tracer, in yama_ptracer_add() argument
151 added->tracer = tracer; in yama_ptracer_add()
176 * @tracer: remove any relation where tracer tas
179 yama_ptracer_del(struct task_struct *tracer, struct task_struct *tracee) yama_ptracer_del() argument
247 struct task_struct *tracer; yama_task_prctl() local
305 ptracer_exception_found(struct task_struct *tracer, struct task_struct *tracee) ptracer_exception_found() argument
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace.h191 struct tracer;
205 struct tracer *tracer; member
344 struct tracer *current_trace;
402 * The global tracer (top) should be the first trace array added,
469 * An option specific to a tracer. This is a boolean value.
479 * The set of specific options for a tracer. Your tracer
485 struct tracer *trace;
488 /* Makes more easy to define a tracer op
519 struct tracer { global() struct
[all...]
H A Dtrace_selftest.c76 * If the calling tracer is broken, and is constantly filling in trace_test_buffer()
97 static inline void warn_failed_init_tracer(struct tracer *trace, int init_ret) in warn_failed_init_tracer()
99 printk(KERN_WARNING "Failed to init %s tracer, init returned %d\n", in warn_failed_init_tracer()
325 static int trace_selftest_startup_dynamic_tracing(struct tracer *trace, in trace_selftest_startup_dynamic_tracing()
653 * Simple verification test of ftrace function tracer.
658 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_function()
737 printk(KERN_WARNING "BUG: Function graph tracer hang!\n"); in trace_graph_entry_watchdog()
755 * Pretty much the same than for the function tracer from which the selftest
759 trace_selftest_startup_function_graph(struct tracer *trace, in trace_selftest_startup_function_graph()
812 /* Don't test dynamic tracing, the function tracer alread in trace_selftest_startup_function_graph()
[all...]
H A Dtrace_irqsoff.c95 * inside the #ifdef of the function graph tracer below.
96 * This is OK, since the function graph tracer is
97 * dependent on the function tracer.
137 * irqsoff uses its own tracer function to keep the overhead down:
249 * In graph mode call the graph tracer output function, in irqsoff_print_line()
520 struct tracer *tracer = tr->current_trace; in irqsoff_flag_changed() local
530 return trace_keep_overwrite(tracer, mask, set); in irqsoff_flag_changed()
571 /* make sure that the tracer is visible */ in __irqsoff_tracer_init()
579 printk(KERN_ERR "failed to start irqsoff tracer\ in __irqsoff_tracer_init()
[all...]
H A Dtrace_sched_wakeup.c63 * inside the #ifdef of the function graph tracer below.
64 * This is OK, since the function graph tracer is
65 * dependent on the function tracer.
194 * In graph mode call the graph tracer output function, in wakeup_print_line()
213 * wakeup uses its own tracer function to keep the overhead down:
318 struct tracer *tracer = tr->current_trace; in wakeup_flag_changed() local
328 return trace_keep_overwrite(tracer, mask, set); in wakeup_flag_changed()
544 * - wakeup tracer handles all tasks in the system, independently in probe_wakeup()
546 * - wakeup_rt tracer handle in probe_wakeup()
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace.h207 struct tracer;
221 struct tracer *tracer; member
375 struct tracer *current_trace;
435 * The global tracer (top) should be the first trace array added,
506 * An option specific to a tracer. This is a boolean value.
516 * The set of specific options for a tracer. Your tracer
522 struct tracer *trace;
525 /* Makes more easy to define a tracer op
556 struct tracer { global() struct
[all...]
H A Dtrace_selftest.c76 * If the calling tracer is broken, and is constantly filling in trace_test_buffer()
97 static inline void warn_failed_init_tracer(struct tracer *trace, int init_ret) in warn_failed_init_tracer()
99 printk(KERN_WARNING "Failed to init %s tracer, init returned %d\n", in warn_failed_init_tracer()
356 static int trace_selftest_startup_dynamic_tracing(struct tracer *trace, in trace_selftest_startup_dynamic_tracing()
686 * Simple verification test of ftrace function tracer.
691 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_function()
770 printk(KERN_WARNING "BUG: Function graph tracer hang!\n"); in trace_graph_entry_watchdog()
792 * Pretty much the same than for the function tracer from which the selftest
796 trace_selftest_startup_function_graph(struct tracer *trace, in trace_selftest_startup_function_graph()
869 * Register direct function together with graph tracer in trace_selftest_startup_function_graph()
[all...]
H A Dtrace_irqsoff.c95 * inside the #ifdef of the function graph tracer below.
96 * This is OK, since the function graph tracer is
97 * dependent on the function tracer.
137 * irqsoff uses its own tracer function to keep the overhead down:
252 * In graph mode call the graph tracer output function, in irqsoff_print_line()
514 struct tracer *tracer = tr->current_trace; in irqsoff_flag_changed() local
524 return trace_keep_overwrite(tracer, mask, set); in irqsoff_flag_changed()
565 /* make sure that the tracer is visible */ in __irqsoff_tracer_init()
573 printk(KERN_ERR "failed to start irqsoff tracer\ in __irqsoff_tracer_init()
[all...]
H A Dtrace_sched_wakeup.c63 * inside the #ifdef of the function graph tracer below.
64 * This is OK, since the function graph tracer is
65 * dependent on the function tracer.
191 * In graph mode call the graph tracer output function, in wakeup_print_line()
210 * wakeup uses its own tracer function to keep the overhead down:
315 struct tracer *tracer = tr->current_trace; in wakeup_flag_changed() local
325 return trace_keep_overwrite(tracer, mask, set); in wakeup_flag_changed()
541 * - wakeup tracer handles all tasks in the system, independently in probe_wakeup()
543 * - wakeup_rt tracer handle in probe_wakeup()
[all...]
/kernel/linux/linux-5.10/samples/seccomp/
H A Duser-trap.c204 pid_t worker = 0 , tracer = 0; in main() local
280 * can just wait ofr the tracee to exit and kill the tracer. in main()
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()
/kernel/linux/linux-6.6/samples/seccomp/
H A Duser-trap.c204 pid_t worker = 0 , tracer = 0; in main() local
280 * can just wait ofr the tracee to exit and kill the tracer. in main()
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()
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-ftrace.c39 const char *tracer; member
612 if (write_tracing_file("current_tracer", ftrace->tracer) < 0) { in __cmd_ftrace()
613 pr_err("failed to set current_tracer to %s\n", ftrace->tracer); in __cmd_ftrace()
704 if (strcmp(var, "ftrace.tracer")) in perf_ftrace_config()
709 ftrace->tracer = value; in perf_ftrace_config()
866 /* The function_graph has priority over function tracer. */ in select_tracer()
868 ftrace->tracer = "function_graph"; in select_tracer()
870 ftrace->tracer = "function"; in select_tracer()
871 /* Otherwise, the default tracer is used. */ in select_tracer()
873 pr_debug("%s tracer i in select_tracer()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfw_reset.c211 struct mlx5_fw_tracer *tracer; in mlx5_fw_live_patch_event() local
216 tracer = dev->tracer; in mlx5_fw_live_patch_event()
217 if (IS_ERR_OR_NULL(tracer)) in mlx5_fw_live_patch_event()
220 if (mlx5_fw_tracer_reload(tracer)) in mlx5_fw_live_patch_event()
221 mlx5_core_err(dev, "Failed to reload FW tracer\n"); in mlx5_fw_live_patch_event()
/kernel/linux/linux-6.6/tools/testing/selftests/amd-pstate/
H A Dgitsource.sh62 rm -rf results/tracer-gitsource*
81 echo "Launching amd pstate tracer for $1 #$2 tracer_interval: $TRACER_INTERVAL"
82 ./amd_pstate_trace.py -n tracer-gitsource-$1-$2 -i $TRACER_INTERVAL > /dev/null 2>&1 &
99 awk '{print $5}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-des-perf-$1-$2.log
103 awk '{print $7}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-freq-$1-$2.log
107 awk '{print $11}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-load-$1-$2.log
H A Dtbench.sh57 rm -rf results/tracer-tbench*
66 echo "Launching amd pstate tracer for $1 #$2 tracer_interval: $TRACER_INTERVAL"
67 ./amd_pstate_trace.py -n tracer-tbench-$1-$2 -i $TRACER_INTERVAL > /dev/null 2>&1 &
86 awk '{print $5}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-des-perf-$1-$2.log
90 awk '{print $7}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-freq-$1-$2.log
94 awk '{print $11}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-load-$1-$2.log
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-ftrace.c553 /* The function_graph has priority over function tracer. */ in select_tracer()
555 ftrace->tracer = "function_graph"; in select_tracer()
557 ftrace->tracer = "function"; in select_tracer()
558 /* Otherwise, the default tracer is used. */ in select_tracer()
560 pr_debug("%s tracer is used\n", ftrace->tracer); in select_tracer()
598 if (write_tracing_file("current_tracer", ftrace->tracer) < 0) { in __cmd_ftrace()
599 pr_err("failed to set current_tracer to %s\n", ftrace->tracer); in __cmd_ftrace()
705 * # tracer: function_graph in make_histogram()
819 /* force to use the function_graph tracer t in prepare_func_latency()
[all...]

Completed in 22 milliseconds

1234