script, perf-read-aux: support different formats
script, perf-read-aux: support different formats

Perf uses a slightly different format for per-thread and per-cpu trace.
Also the format changed slightly from older perf versions.

We already handle those variations in perf-read-sideband.bash.  Take the
same approach in perf-read-aux.bash.

This fixes #49.

The 'perf script -D | awk' approach isn't ideal.  Should the format change
more significantly, we won't be able to keep up.

Change-Id: Idef4a2457d1ab1cae6954c34532fb8d019326710
Signed-off-by: Markus Metzger <5f675b2b36595f90898e014b548ff7d9bbff2ab7@intel.com>

01org/processor-trace,01org/processor-trace,01org/processor-trace