diff options
| author | Namhyung Kim <[email protected]> | 2013-06-04 14:20:18 +0900 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-07-12 13:52:11 -0300 |
| commit | 79d5adf06dd530fe6a9ab3d086b2d23eb7560491 (patch) | |
| tree | a0a28b2b31a842a1a059a15f19fe22a10f85dcf9 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 4ccdf57d46843f5c03e390bdb652c9744e30ee20 (diff) | |
tools lib traceevent: Add const qualifier to string arguments
If pevent_register_event_handler() received a string literal as
@sys_name or @event_name parameter, it emitted a warning about const
qualifier removal. Since they're not modified in the function we can
make it have const qualifier.
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions