def remove_first_pyinstrument_frame_processor(frame, options):
if frame is None:<EOL><INDENT>return None<EOL><DEDENT>if '<STR_LIT>' in frame.file_path and len(frame.children) == <NUM_LIT:1>:<EOL><INDENT>frame = frame.children[<NUM_LIT:0>]<EOL>frame.remove_from_parent()<EOL>return frame<EOL><DEDENT>return frame<EOL>
The first frame when using the command line is always the __main__ function. I want to remove
that from the output.