(slang) torturing (a person or thing) by
fire;
burning or scorching (something). Used figuratively in this lecture.
And at that moment it's a choice between restraining yourself from frying his brains and sending a chit to Ethics so it will accumulate in his file.