Lines Matching defs:cmd
47 struct dynevent_cmd cmd;
57 /* Before generating the command, initialize the cmd object */
58 synth_event_cmd_init(&cmd, buf, MAX_DYNEVENT_CMD_LEN);
64 ret = synth_event_gen_cmd_start(&cmd, "gen_synth_test", THIS_MODULE,
74 ret = synth_event_add_field(&cmd, "unsigned int", "cpu");
78 ret = synth_event_add_field(&cmd, "char[64]", "my_string_field");
82 ret = synth_event_add_field(&cmd, "int", "my_int_field");
86 ret = synth_event_gen_cmd_end(&cmd);
138 struct dynevent_cmd cmd;
148 /* Before generating the command, initialize the cmd object */
149 synth_event_cmd_init(&cmd, buf, MAX_DYNEVENT_CMD_LEN);
154 ret = synth_event_gen_cmd_start(&cmd, "empty_synth_test", THIS_MODULE);
160 ret = synth_event_add_field(&cmd, "pid_t", "next_pid_field");
164 ret = synth_event_add_field(&cmd, "char[16]", "next_comm_field");
168 ret = synth_event_add_field(&cmd, "u64", "ts_ns");
172 ret = synth_event_add_field(&cmd, "u64", "ts_ms");
176 ret = synth_event_add_field(&cmd, "unsigned int", "cpu");
180 ret = synth_event_add_field(&cmd, "char[64]", "my_string_field");
184 ret = synth_event_add_field(&cmd, "int", "my_int_field");
190 ret = synth_event_gen_cmd_end(&cmd);