xenon log: collate stack samples and fold into single lines

So that the log data can be used as input for FlameGraph.
See <https://github.com/brendangregg/FlameGraph/blob/master/README#L35-60>

Change-Id: I63864cc79387deee4b640466a0d63bd3738ecc82