Modify record_ctrl.c.

Make record_ctrl.c to be more tidy. And now <enable> will start
logging automatically.

Signed-off-by: tanle <tamlokveer@gmail.com>