]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:10:14 +0000 (11:10 +0000)
commit4bc5353c929cb1a5f33a24c5471a5bde1929a043
tree7509a0445274b0aa679c19bb08a1f890997385c7
parenteab4aaa07483601c2964b107b8eb92abfdbfd43f
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.

(From OE-Core rev: 81479b191287ccbf4cf94fa2d0ad46813091bca1)

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