trace-cmd: Make name and cpu_pid into const pointers to tracecmd_get_guest_cpumap()

As both the name and cpu_pid return pointers to the actual data of the
tracecmd_handle, they should be constant to make sure that the callers do
not try to modify them.

Link: http://lore.kernel.org/linux-trace-devel/20200305134418.4ca07214@gandalf.local.home

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2 files changed