Include function args and kwargs in ProfileRecord