]> code.ossystems Code Review - openembedded-core.git/commit
scripts: Specify the stats to take into account
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Tue, 15 Nov 2016 21:19:52 +0000 (15:19 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Nov 2016 11:02:30 +0000 (11:02 +0000)
commit81479b191287ccbf4cf94fa2d0ad46813091bca1
tree787f81ca598e02608858ad1622fceabe8ea75e78
parent47dfd172754440a7ab28eb1b59d9bd484cdad22a
scripts: Specify the stats to take into account

There are many more stats on buildstats that 'Elapsed time', so make the script
more flexible to support all stats. Some cmd line examples:

$ buildstats.sh -s 'utime'

Buildstats' data covers proc's stats in different areas, including CPU times,
IO, program system resources and child program system resources. In order
to print values on each of these sets from command line, one can use the
following:

$ buildstats.sh -H -s 'TIME' | less

$ buildstats.sh -H -s 'IO' | less

and 'RUSAGE' and 'CHILD_RUSAGE' for program and program's child system
resources.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/contrib/bb-perf/buildstats.sh