trace-graph: Add hash to lookup pids and cpus

Add a hash in the graph info to quickly look up to see if plots
have been registered to a pid or cpus. This is currently not used
but will be in the following patches.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
5 files changed