trace-cmd: Have hist check all cpus for common types
trace-cmd: Have hist check all cpus for common types

When trace-cmd hist starts, it grabs the first record it can
to set up the common types based on it. But since it only checks
cpu 0, there's a chance that no event will exist and it will fail.

Check all cpus till a record is found.

Signed-off-by: Steven Rostedt <43232e92d70cc7aa53504ad0397085ee47bad87f@goodmis.org>

bigzz/trace-cmd,bigzz/trace-cmd