aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2009-12-15 16:48:21 -0800
committerLinus Torvalds <[email protected]>2009-12-16 07:20:17 -0800
commitf65380c07b64b0e45ad5c7d70ca54a9cde1c00db (patch)
treef0ea736f2c3b21af00dbc085ea53d47847f9632f /tools/perf/util/trace-event-scripting.c
parent76148df19cbd5437dc5358408a58c7cc6366ecf4 (diff)
resource: constify arg to resource_size() and resource_type()
resource_size() doesn't change the resource it operates on, so the res parameter can be marked const. Same for resource_type(). Signed-off-by: Jean Delvare <[email protected]> Reviewed-by: WANG Cong <[email protected]> Cc: Greg KH <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions