summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/toaster.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass
index eeca9dedd2..d63cff532e 100644
--- a/meta/classes/toaster.bbclass
+++ b/meta/classes/toaster.bbclass
@@ -192,7 +192,7 @@ python toaster_collect_task_stats() {
192 bn = get_bn(e) 192 bn = get_bn(e)
193 bsdir = os.path.join(e.data.getVar('BUILDSTATS_BASE', True), bn) 193 bsdir = os.path.join(e.data.getVar('BUILDSTATS_BASE', True), bn)
194 taskdir = os.path.join(bsdir, e.data.expand("${PF}")) 194 taskdir = os.path.join(bsdir, e.data.expand("${PF}"))
195 fout.write("%s:%s:%s:%s\n" % (e.taskfile, e.taskname, os.path.join(taskdir, e.task), e.data.expand("${PN}"))) 195 fout.write("%s::%s::%s::%s\n" % (e.taskfile, e.taskname, os.path.join(taskdir, e.task), e.data.expand("${PN}")))
196 196
197 bb.utils.unlockfile(lock) 197 bb.utils.unlockfile(lock)
198 198
@@ -245,7 +245,7 @@ python toaster_collect_task_stats() {
245 events = [] 245 events = []
246 with open(os.path.join(e.data.getVar('BUILDSTATS_BASE', True), "toasterstatlist"), "r") as fin: 246 with open(os.path.join(e.data.getVar('BUILDSTATS_BASE', True), "toasterstatlist"), "r") as fin:
247 for line in fin: 247 for line in fin:
248 (taskfile, taskname, filename, recipename) = line.strip().split(":") 248 (taskfile, taskname, filename, recipename) = line.strip().split("::")
249 events.append((taskfile, taskname, _read_stats(filename), recipename)) 249 events.append((taskfile, taskname, _read_stats(filename), recipename))
250 bb.event.fire(bb.event.MetadataEvent("BuildStatsList", events), e.data) 250 bb.event.fire(bb.event.MetadataEvent("BuildStatsList", events), e.data)
251 os.unlink(os.path.join(e.data.getVar('BUILDSTATS_BASE', True), "toasterstatlist")) 251 os.unlink(os.path.join(e.data.getVar('BUILDSTATS_BASE', True), "toasterstatlist"))