-# Copyright (c) 2006 The Regents of The University of Michigan
+# Copyright (c) 2006-2007 The Regents of The University of Michigan
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
#
# Authors: Korey Sewell
-root.system.cpu.workload = LiveProcess(cmd = 'gzip smred.log 1',
- executable = binpath('gzip'))
+m5.util.addToPath('../configs/common')
+from cpu2000 import gzip_log
+
+workload = gzip_log(isa, opsys, 'smred')
+root.system.cpu.workload = workload.makeLiveProcess()