Home
last modified time | relevance | path

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

/linux/kernel/trace/
H A 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 …]
H A Dtrace_events_synth.c1651 struct synth_event_trace_state *trace_state) in __synth_event_trace_init() argument
1655 memset(trace_state, '\0', sizeof(*trace_state)); in __synth_event_trace_init()
1668 trace_state->disabled = true; in __synth_event_trace_init()
1673 trace_state->event = file->event_call->data; in __synth_event_trace_init()
1680 struct synth_event_trace_state *trace_state, in __synth_event_trace_start() argument
1686 fields_size = trace_state->event->n_u64 * sizeof(u64); in __synth_event_trace_start()
1693 trace_state->buffer = file->tr->array_buffer.buffer; in __synth_event_trace_start()
1694 ring_buffer_nest_start(trace_state->buffer); in __synth_event_trace_start()
1696 entry_size = sizeof(*trace_state->entry) + fields_size; in __synth_event_trace_start()
1697 trace_state->entry = trace_event_buffer_reserve(&trace_state->fbuffer, in __synth_event_trace_start()
[all …]
H A Dblktrace.c252 if (unlikely(bt->trace_state != Blktrace_running && in __blk_trace_note_message()
327 if (unlikely(bt->trace_state != Blktrace_running && !blk_tracer)) in __blk_add_trace()
507 if (bt->trace_state != Blktrace_setup && in blk_trace_start()
508 bt->trace_state != Blktrace_stopped) in blk_trace_start()
513 bt->trace_state = Blktrace_running; in blk_trace_start()
524 if (bt->trace_state != Blktrace_running) in blk_trace_stop()
527 bt->trace_state = Blktrace_stopped; in blk_trace_stop()
757 bt->trace_state = Blktrace_setup; in blk_trace_setup_finalize()
/linux/Documentation/firmware-guide/acpi/
H A 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/include/linux/
H A Dtrace_events.h577 struct synth_event_trace_state *trace_state);
579 struct synth_event_trace_state *trace_state);
581 struct synth_event_trace_state *trace_state);
582 extern int synth_event_trace_end(struct synth_event_trace_state *trace_state);
/linux/net/core/
H A Ddrop_monitor.c50 static int trace_state = TRACE_OFF; variable
1227 if (state == trace_state) { in set_all_monitor_traces()
1245 trace_state = state; in set_all_monitor_traces()
1254 return trace_state == TRACE_ON || monitor_hw; in net_dm_is_monitoring()
/linux/drivers/acpi/
H A Dsysfs.c267 module_param_call(trace_state, param_set_trace_state, param_get_trace_state,