commit | dbe8aaf65107439a46e49dd40ecd577e5ea93660 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu Mar 05 13:44:18 2020 -0500 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Thu Mar 05 14:40:22 2020 -0500 |
tree | ac71778c89cb51bbeedaf73e209edbbe76878155 | |
parent | e89bb30133a3d941acbc375b83a79f4a776aed85 [diff] |
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>