Home
last modified time | relevance | path

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

/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.c1645 struct synth_event_trace_state *trace_state) in __synth_event_trace_init() argument
1649 memset(trace_state, '\0', sizeof(*trace_state)); in __synth_event_trace_init()
1662 trace_state->disabled = true; in __synth_event_trace_init()
1667 trace_state->event = file->event_call->data; in __synth_event_trace_init()
1674 struct synth_event_trace_state *trace_state, in __synth_event_trace_start() argument
1680 fields_size = trace_state->event->n_u64 * sizeof(u64); in __synth_event_trace_start()
1687 trace_state->buffer = file->tr->array_buffer.buffer; in __synth_event_trace_start()
1688 ring_buffer_nest_start(trace_state->buffer); in __synth_event_trace_start()
1690 entry_size = sizeof(*trace_state->entry) + fields_size; in __synth_event_trace_start()
1691 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()