Home
last modified time | relevance | path

Searched refs:trace_state (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/kernel/trace/
Dsynth_event_gen_test.c317 struct synth_event_trace_state trace_state; in test_add_next_synth_val() local
321 ret = synth_event_trace_start(gen_synth_test, &trace_state); in test_add_next_synth_val()
328 ret = synth_event_add_next_val(777, &trace_state); in test_add_next_synth_val()
333 ret = synth_event_add_next_val((u64)(long)"slinky", &trace_state); in test_add_next_synth_val()
338 ret = synth_event_add_next_val(1000000, &trace_state); in test_add_next_synth_val()
343 ret = synth_event_add_next_val(1000, &trace_state); in test_add_next_synth_val()
348 ret = synth_event_add_next_val(raw_smp_processor_id(), &trace_state); in test_add_next_synth_val()
353 ret = synth_event_add_next_val((u64)(long)"thneed_2.01", &trace_state); in test_add_next_synth_val()
358 ret = synth_event_add_next_val(395, &trace_state); in test_add_next_synth_val()
361 ret = synth_event_trace_end(&trace_state); in test_add_next_synth_val()
[all …]
Dtrace_events_synth.c1630 struct synth_event_trace_state *trace_state) in __synth_event_trace_init() argument
1634 memset(trace_state, '\0', sizeof(*trace_state)); in __synth_event_trace_init()
1647 trace_state->disabled = true; in __synth_event_trace_init()
1652 trace_state->event = file->event_call->data; in __synth_event_trace_init()
1659 struct synth_event_trace_state *trace_state, in __synth_event_trace_start() argument
1665 fields_size = trace_state->event->n_u64 * sizeof(u64); in __synth_event_trace_start()
1672 trace_state->buffer = file->tr->array_buffer.buffer; in __synth_event_trace_start()
1673 ring_buffer_nest_start(trace_state->buffer); in __synth_event_trace_start()
1675 entry_size = sizeof(*trace_state->entry) + fields_size; in __synth_event_trace_start()
1676 trace_state->entry = trace_event_buffer_reserve(&trace_state->fbuffer, in __synth_event_trace_start()
[all …]
Dblktrace.c157 if (unlikely(bt->trace_state != Blktrace_running && in __blk_trace_note_message()
232 if (unlikely(bt->trace_state != Blktrace_running && !blk_tracer)) in __blk_add_trace()
351 if (bt->trace_state != Blktrace_setup && in blk_trace_start()
352 bt->trace_state != Blktrace_stopped) in blk_trace_start()
357 bt->trace_state = Blktrace_running; in blk_trace_start()
368 if (bt->trace_state != Blktrace_running) in blk_trace_stop()
371 bt->trace_state = Blktrace_stopped; in blk_trace_stop()
609 bt->trace_state = Blktrace_setup; in do_blk_trace_setup()
/linux-6.6.21/Documentation/firmware-guide/acpi/
Dmethod-tracing.rst49 # echo "enable" > trace_state
58 # echo "method" > /sys/module/acpi/parameters/trace_state
67 # echo "method-once" > /sys/module/acpi/parameters/trace_state
115 # echo "enable" > trace_state
124 # echo "method" > trace_state
133 # echo "method-once" > trace_state
142 # echo "opcode" > trace_state
151 # echo "opcode-opcode" > trace_state
157 acpi.trace_method_name=\_SB.LID0._LID acpi.trace_state=opcode-once
184 trace_state
[all …]
/linux-6.6.21/Documentation/trace/
Devents.rst846 struct synth_event_trace_state trace_state;
848 ret = synth_event_trace_start(schedtest_event_file, &trace_state);
872 ret = synth_event_add_next_val(777, &trace_state);
875 ret = synth_event_add_next_val((u64)"slinky", &trace_state);
878 ret = synth_event_add_next_val(1000000, &trace_state);
881 ret = synth_event_add_next_val(1000, &trace_state);
884 ret = synth_event_add_next_val(smp_processor_id(), &trace_state);
887 ret = synth_event_add_next_val((u64)"thneed_2.01", &trace_state);
890 ret = synth_event_add_next_val(395, &trace_state);
899 ret = synth_event_add_val("next_pid_field", 777, &trace_state);
[all …]
/linux-6.6.21/include/linux/
Dtrace_events.h583 struct synth_event_trace_state *trace_state);
585 struct synth_event_trace_state *trace_state);
587 struct synth_event_trace_state *trace_state);
588 extern int synth_event_trace_end(struct synth_event_trace_state *trace_state);
Dblktrace_api.h17 int trace_state; member
/linux-6.6.21/arch/arm/mach-omap2/
Dpowerdomain.c164 int prev, next, state, trace_state = 0; in _pwrdm_state_switch() local
187 trace_state = (PWRDM_TRACE_STATES_FLAG | in _pwrdm_state_switch()
191 trace_state, in _pwrdm_state_switch()
/linux-6.6.21/drivers/misc/cxl/
Dpci.c1533 u64 trace_state, trace_mask; in cxl_stop_trace_psl9() local
1538 trace_state = cxl_p1_read(adapter, CXL_PSL9_CTCCFG); in cxl_stop_trace_psl9()
1540 trace_state = (trace_state & trace_mask) >> (62 - traceid * 2); in cxl_stop_trace_psl9()
1542 traceid, trace_state); in cxl_stop_trace_psl9()
1545 if (trace_state != CXL_PSL9_TRACESTATE_FIN) in cxl_stop_trace_psl9()
/linux-6.6.21/net/core/
Ddrop_monitor.c50 static int trace_state = TRACE_OFF; variable
1224 if (state == trace_state) { in set_all_monitor_traces()
1242 trace_state = state; in set_all_monitor_traces()
1251 return trace_state == TRACE_ON || monitor_hw; in net_dm_is_monitoring()
/linux-6.6.21/drivers/acpi/
Dsysfs.c267 module_param_call(trace_state, param_set_trace_state, param_get_trace_state,