Home
last modified time | relevance | path

Searched refs:synth_event_add_val (Results 1 – 4 of 4) sorted by relevance

/linux/kernel/trace/
H A Dsynth_event_gen_test.c383 ret = synth_event_add_val("ts_ns", 1000000, &trace_state); in test_add_synth_val()
387 ret = synth_event_add_val("ts_ms", 1000, &trace_state); in test_add_synth_val()
391 ret = synth_event_add_val("cpu", raw_smp_processor_id(), &trace_state); in test_add_synth_val()
395 ret = synth_event_add_val("next_pid_field", 777, &trace_state); in test_add_synth_val()
399 ret = synth_event_add_val("next_comm_field", (u64)(long)"silly putty", in test_add_synth_val()
404 ret = synth_event_add_val("my_string_field", (u64)(long)"thneed_9", in test_add_synth_val()
409 ret = synth_event_add_val("my_int_field", 3999, &trace_state); in test_add_synth_val()
H A Dtrace_events_synth.c2097 int synth_event_add_val(const char *field_name, u64 val, in synth_event_add_val() function
2102 EXPORT_SYMBOL_GPL(synth_event_add_val);
/linux/Documentation/trace/
H A Devents.rst734 synth_event_add_next_val() or synth_event_add_val() to add the values
892 To assign the values in any order, synth_event_add_val() should be
899 ret = synth_event_add_val("next_pid_field", 777, &trace_state);
900 ret = synth_event_add_val("next_comm_field", (u64)"silly putty",
902 ret = synth_event_add_val("ts_ns", 1000000, &trace_state);
903 ret = synth_event_add_val("ts_ms", 1000, &trace_state);
904 ret = synth_event_add_val("cpu", smp_processor_id(), &trace_state);
905 ret = synth_event_add_val("my_string_field", (u64)"thneed_9",
907 ret = synth_event_add_val("my_int_field", 3999, &trace_state);
909 Note that synth_event_add_next_val() and synth_event_add_val() are
/linux/include/linux/
H A Dtrace_events.h592 extern int synth_event_add_val(const char *field_name, u64 val,