How do I generate an ordered lists of the executed tasks when bitbaking a package?

Viewed 8214

I know that I can list the possible tasks with:

bitbake package -c listtasks

But this list also includes tasks that need to be called explicitly (like do_devshell or do_clean), and I wish to watch what is called when running:

bitbake package

Looking through the output obtained with 'bitbake -e package' also didn't provide much information I was able to parse.

Given that the order of tasks has to be explicitly defined with 'before' and 'after' when adding a task, I would expect it to be stored in some form.

2 Answers

Another place to look is the cooker log file found here: build_directory/tmp/log/cooker/machine_toolchain

It has a .log extension: (eg. 20190205192546.log) and shows the exact order of execution of tasks (all the do_... in the order that they are invoked).

Related