Index: litsupport/modules/perf.py =================================================================== --- litsupport/modules/perf.py +++ litsupport/modules/perf.py @@ -6,12 +6,12 @@ def _mutateCommandLine(context, commandline): - profilefile = context.tmpBase + ".perf_data" + context.profilefile = context.tmpBase + ".perf_data" cmd = shellcommand.parse(commandline) cmd.wrap('perf', [ 'record', '-e', context.config.perf_profile_events, - '-o', profilefile, + '-o', context.profilefile, '--' ]) if cmd.stdout is None: @@ -33,4 +33,4 @@ script = testplan.mutateScript(context, script, _mutateCommandLine) plan.profilescript += script plan.metric_collectors.append( - lambda context: {'profile': context.tmpBase + '.perf_data'}) + lambda context: {'profile': context.profilefile})