Yup - record the controller movement. It's kind of the intent, as far as I can tell. I use a Behringer FCB1010 midi pedal board, which has 2 expression pedals, and that's what I do.
(I am actually a keyboard player, but I do play some guitar, and use the FCB1010 pedals when I record on guitar).
Bob Bone