Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c1436 struct synth_event_trace_state *trace_state) in __synth_event_trace_init() argument
1440 memset(trace_state, '\0', sizeof(*trace_state)); in __synth_event_trace_init()
1453 trace_state->disabled = true; in __synth_event_trace_init()
1458 trace_state->event = file->event_call->data; in __synth_event_trace_init()
1465 struct synth_event_trace_state *trace_state, in __synth_event_trace_start() argument
1471 fields_size = trace_state->event->n_u64 * sizeof(u64); in __synth_event_trace_start()
1478 trace_state->buffer = file->tr->array_buffer.buffer; in __synth_event_trace_start()
1479 ring_buffer_nest_start(trace_state->buffer); in __synth_event_trace_start()
1481 entry_size = sizeof(*trace_state->entry) + fields_size; in __synth_event_trace_start()
1482 trace_state->entry = trace_event_buffer_reserve(&trace_state->fbuffer, in __synth_event_trace_start()
[all …]
Dblktrace.c156 if (unlikely(bt->trace_state != Blktrace_running && in __trace_note_message()
230 if (unlikely(bt->trace_state != Blktrace_running && !blk_tracer)) in __blk_add_trace()
355 if (bt->trace_state != Blktrace_running) in __blk_trace_remove()
575 bt->trace_state = Blktrace_setup; in do_blk_trace_setup()
672 if (bt->trace_state == Blktrace_setup || in __blk_trace_startstop()
673 bt->trace_state == Blktrace_stopped) { in __blk_trace_startstop()
676 bt->trace_state = Blktrace_running; in __blk_trace_startstop()
685 if (bt->trace_state == Blktrace_running) { in __blk_trace_startstop()
686 bt->trace_state = Blktrace_stopped; in __blk_trace_startstop()
1664 if (bt->trace_state == Blktrace_running) { in blk_trace_remove_queue()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/include/linux/
Dtrace_events.h455 struct synth_event_trace_state *trace_state);
457 struct synth_event_trace_state *trace_state);
459 struct synth_event_trace_state *trace_state);
460 extern int synth_event_trace_end(struct synth_event_trace_state *trace_state);
Dblktrace_api.h16 int trace_state; member
/kernel/linux/linux-5.10/Documentation/trace/
Devents.rst820 struct synth_trace_state trace_state;
822 ret = synth_event_trace_start(schedtest_event_file, &trace_state);
846 ret = synth_event_add_next_val(777, &trace_state);
849 ret = synth_event_add_next_val((u64)"slinky", &trace_state);
852 ret = synth_event_add_next_val(1000000, &trace_state);
855 ret = synth_event_add_next_val(1000, &trace_state);
858 ret = synth_event_add_next_val(smp_processor_id(), &trace_state);
861 ret = synth_event_add_next_val((u64)"thneed_2.01", &trace_state);
864 ret = synth_event_add_next_val(395, &trace_state);
873 ret = synth_event_add_val("next_pid_field", 777, &trace_state);
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/core/
Ddrop_monitor.c48 static int trace_state = TRACE_OFF; variable
1208 if (state == trace_state) { in set_all_monitor_traces()
1226 trace_state = state; in set_all_monitor_traces()
1235 return trace_state == TRACE_ON || monitor_hw; in net_dm_is_monitoring()
1585 if (trace_state == TRACE_OFF) { in dropmon_net_event()
/kernel/linux/linux-5.10/drivers/misc/cxl/
Dpci.c1542 u64 trace_state, trace_mask; in cxl_stop_trace_psl9() local
1547 trace_state = cxl_p1_read(adapter, CXL_PSL9_CTCCFG); in cxl_stop_trace_psl9()
1549 trace_state = (trace_state & trace_mask) >> (62 - traceid * 2); in cxl_stop_trace_psl9()
1551 traceid, trace_state); in cxl_stop_trace_psl9()
1554 if (trace_state != CXL_PSL9_TRACESTATE_FIN) in cxl_stop_trace_psl9()
/kernel/linux/linux-5.10/drivers/acpi/
Dsysfs.c287 module_param_call(trace_state, param_set_trace_state, param_get_trace_state,