I'm opening this issue following this discussion in the ReFrame Slack.
After migrating to 4.x, I find that my test's exclusive use of sn.make_performance_function (no use of the @performance_function decorator) causes the perflogs directory not to be created, and yields no performance log files following the successful run of a performance test.