aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-11-21 14:44:57 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-23 11:46:49 +0100
commit0429149fb5e01edc410648591c19095d2074ee00 (patch)
treed16c0e5b19f1d1409bc653ea12ba17938774ec64 /usr
parent2bcd521a684cc94befbe2ce7d5b613c841b0d304 (diff)
trace: fix compiler warning in branch profiler
Impact: fix compiler warning The ftrace_pointers used in the branch profiler are constant values. They should never change. But the compiler complains when they are passed into the debugfs_create_file as a data pointer, because the function discards the qualifier. This patch typecasts the parameter to debugfs_create_file back to a void pointer. To remind the callbacks that they are pointing to a constant value, I also modified the callback local pointers to be const struct ftrace_pointer * as well. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions