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.c2090 int synth_event_add_val(const char *field_name, u64 val, in synth_event_add_val() function
2095 EXPORT_SYMBOL_GPL(synth_event_add_val);
/linux/Documentation/trace/
H A Devents.rst758 synth_event_add_next_val() or synth_event_add_val() to add the values
916 To assign the values in any order, synth_event_add_val() should be
923 ret = synth_event_add_val("next_pid_field", 777, &trace_state);
924 ret = synth_event_add_val("next_comm_field", (u64)"silly putty",
926 ret = synth_event_add_val("ts_ns", 1000000, &trace_state);
927 ret = synth_event_add_val("ts_ms", 1000, &trace_state);
928 ret = synth_event_add_val("cpu", smp_processor_id(), &trace_state);
929 ret = synth_event_add_val("my_string_field", (u64)"thneed_9",
931 ret = synth_event_add_val("my_int_field", 3999, &trace_state);
933 Note that synth_event_add_next_val() and synth_event_add_val() are
/linux/include/linux/
H A Dtrace_events.h580 extern int synth_event_add_val(const char *field_name, u64 val,