Home
last modified time | relevance | path

Searched refs:trace_state (Results 1 – 8 of 8) 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.c1623 struct synth_event_trace_state *trace_state) in __synth_event_trace_init() argument
1627 memset(trace_state, '\0', sizeof(*trace_state)); in __synth_event_trace_init()
1640 trace_state->disabled = true; in __synth_event_trace_init()
1645 trace_state->event = file->event_call->data; in __synth_event_trace_init()
1652 struct synth_event_trace_state *trace_state, in __synth_event_trace_start() argument
1658 fields_size = trace_state->event->n_u64 * sizeof(u64); in __synth_event_trace_start()
1665 trace_state->buffer = file->tr->array_buffer.buffer; in __synth_event_trace_start()
1666 ring_buffer_nest_start(trace_state->buffer); in __synth_event_trace_start()
1668 entry_size = sizeof(*trace_state->entry) + fields_size; in __synth_event_trace_start()
1669 trace_state->entry = trace_event_buffer_reserve(&trace_state->fbuffer, in __synth_event_trace_start()
[all …]
H A 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()
608 bt->trace_state = Blktrace_setup; in do_blk_trace_setup()
/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/Documentation/trace/
H A Devents.rst870 struct synth_event_trace_state trace_state;
872 ret = synth_event_trace_start(schedtest_event_file, &trace_state);
896 ret = synth_event_add_next_val(777, &trace_state);
899 ret = synth_event_add_next_val((u64)"slinky", &trace_state);
902 ret = synth_event_add_next_val(1000000, &trace_state);
905 ret = synth_event_add_next_val(1000, &trace_state);
908 ret = synth_event_add_next_val(smp_processor_id(), &trace_state);
911 ret = synth_event_add_next_val((u64)"thneed_2.01", &trace_state);
914 ret = synth_event_add_next_val(395, &trace_state);
923 ret = synth_event_add_val("next_pid_field", 777, &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);
H A Dblktrace_api.h17 int trace_state; member
/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()