generic-poky/bitbake/lib/bb
Alexandru DAMIAN 85a17f86ea bitbake: add option to write offline event log file
This patch adds a "-w/--write-log" option to bitbake
that writes an event log file for the current build.

The name of the file is passed as a parameter to the "-w"
argument. If the parameter is the empty string '', the file
name is generated in the form bitbake_eventlog_DATE.json,
where DATE is the current date and time, with second precision.

The "-w" option can also be supplied as the BBEVENTLOG
environment variable.

We add a script, toater-eventreplay, that reads an event
log file and loads the data into a Toaster database, creating
a build entry.

We modify the toasterui to fix minor issues with reading
events from an event log file.

Performance impact is undetectable under no-task executed builds.

(Bitbake rev: 1befb4a783bb7b7b387d4b5ee08830d9516f1ac2)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-18 10:24:06 +00:00
..
fetch2 bitbake: fetch2: add means of disabling SRC_URI checksums 2014-12-09 22:15:48 +00:00
parse bitbake: data: rename defaultval to _defaultval 2014-12-03 12:24:00 +00:00
pysh bitbake: lib: fix no newline at end of file 2014-07-04 09:28:36 +01:00
server bitbake: process: Ensure abnormal exits set an error level 2014-09-02 18:10:37 +01:00
tests bitbake: tests/fetch: Update wget latest_versionstring cups case 2014-11-28 14:03:02 +00:00
ui bitbake: add option to write offline event log file 2014-12-18 10:24:06 +00:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py bitbake: bitbake: Update to 1.25.0 as development version after release 2014-12-03 12:24:01 +00:00
build.py bitbake: build/data: Write out more complete python run files 2014-08-28 15:12:45 +01:00
cache.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
cache_extra.py bitbake: bitbake: cooker: get extra information from recipe cache 2013-09-22 12:19:44 +01:00
checksum.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
codeparser.py bitbake: bb.codeparser.py: Remove reference for oe.utils.contains 2014-11-20 13:27:52 +00:00
command.py bitbake: knotty: Ensure commandline parameters are updated in memres server 2014-09-23 20:06:06 +01:00
compat.py bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds 2013-06-14 17:26:30 +01:00
cooker.py bitbake: add option to write offline event log file 2014-12-18 10:24:06 +00:00
cookerdata.py bitbake: add option to write offline event log file 2014-12-18 10:24:06 +00:00
daemonize.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
data.py bitbake: data: Handle BASH_FUNC shellshock implication 2014-12-09 22:15:49 +00:00
data_smart.py bitbake: data: rename defaultval to _defaultval 2014-12-03 12:24:00 +00:00
event.py bitbake: event: fix resetting class handlers object 2014-12-09 22:15:49 +00:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
methodpool.py bitbake: methodpool: Retire it, remove global method scope 2013-05-24 10:34:52 +01:00
monitordisk.py bitbake: monitordisk: don't log when not monitoring a filesystem for inodes 2014-09-29 12:08:48 +01:00
msg.py bitbake: msg: Add stdout/stderr filters 2014-03-27 10:17:20 +00:00
namedtuple_with_abc.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
persist_data.py bitbake: persist_data: Avoid fsync() calls 2014-05-03 11:24:48 +01:00
process.py bitbake: process: Add timeout to select call 2013-12-10 17:55:29 +00:00
providers.py bitbake: providers/runqueue/taskdata: Optimise logger.debug calls 2014-03-10 11:10:00 -07:00
runqueue.py bitbake: runqueue: Fix 100% cpu use after keyboard interrupt 2014-12-09 22:15:49 +00:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: siggen: Fix shared work checksum mismatch/rebuild issues 2014-11-08 11:14:31 +00:00
taskdata.py bitbake: providers/runqueue/taskdata: Optimise logger.debug calls 2014-03-10 11:10:00 -07:00
tinfoil.py bitbake: tinfoil: add a means of enabling variable history tracking 2014-09-05 10:14:25 +01:00
utils.py bitbake: utils: add exec_flat_python_func() 2014-12-09 22:15:48 +00:00