Lines Matching refs:cmd
47 struct dynevent_cmd cmd; in test_gen_synth_cmd() local
58 synth_event_cmd_init(&cmd, buf, MAX_DYNEVENT_CMD_LEN); in test_gen_synth_cmd()
64 ret = synth_event_gen_cmd_start(&cmd, "gen_synth_test", THIS_MODULE, in test_gen_synth_cmd()
74 ret = synth_event_add_field(&cmd, "unsigned int", "cpu"); in test_gen_synth_cmd()
78 ret = synth_event_add_field(&cmd, "char[64]", "my_string_field"); in test_gen_synth_cmd()
82 ret = synth_event_add_field(&cmd, "int", "my_int_field"); in test_gen_synth_cmd()
86 ret = synth_event_gen_cmd_end(&cmd); in test_gen_synth_cmd()
138 struct dynevent_cmd cmd; in test_empty_synth_event() local
149 synth_event_cmd_init(&cmd, buf, MAX_DYNEVENT_CMD_LEN); in test_empty_synth_event()
154 ret = synth_event_gen_cmd_start(&cmd, "empty_synth_test", THIS_MODULE); in test_empty_synth_event()
160 ret = synth_event_add_field(&cmd, "pid_t", "next_pid_field"); in test_empty_synth_event()
164 ret = synth_event_add_field(&cmd, "char[16]", "next_comm_field"); in test_empty_synth_event()
168 ret = synth_event_add_field(&cmd, "u64", "ts_ns"); in test_empty_synth_event()
172 ret = synth_event_add_field(&cmd, "u64", "ts_ms"); in test_empty_synth_event()
176 ret = synth_event_add_field(&cmd, "unsigned int", "cpu"); in test_empty_synth_event()
180 ret = synth_event_add_field(&cmd, "char[64]", "my_string_field"); in test_empty_synth_event()
184 ret = synth_event_add_field(&cmd, "int", "my_int_field"); in test_empty_synth_event()
190 ret = synth_event_gen_cmd_end(&cmd); in test_empty_synth_event()