aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/events
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2012-05-11 11:06:09 -0700
committerTodd Poynor <toddpoynor@google.com>2012-05-11 11:07:46 -0700
commit8a2755204da8afdbefc317874087e7823ae71f42 (patch)
tree159409192e6eef965e3c5e52f3fa6bb21ce4c478 /include/trace/events
parentc12914672a97c8a6c3800d52a5c40ac06878d6db (diff)
downloadkernel_samsung_crespo-8a2755204da8afdbefc317874087e7823ae71f42.zip
kernel_samsung_crespo-8a2755204da8afdbefc317874087e7823ae71f42.tar.gz
kernel_samsung_crespo-8a2755204da8afdbefc317874087e7823ae71f42.tar.bz2
cpufreq: interactive: fixup trace of string params
Change-Id: Iac47f62437e61b13724afbbf9df1a0729f58f236 Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'include/trace/events')
-rw-r--r--include/trace/events/cpufreq_interactive.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/trace/events/cpufreq_interactive.h b/include/trace/events/cpufreq_interactive.h
index 0791f27..ea83664 100644
--- a/include/trace/events/cpufreq_interactive.h
+++ b/include/trace/events/cpufreq_interactive.h
@@ -83,27 +83,27 @@ DEFINE_EVENT(loadeval, cpufreq_interactive_notyet,
);
TRACE_EVENT(cpufreq_interactive_boost,
- TP_PROTO(char *s),
+ TP_PROTO(const char *s),
TP_ARGS(s),
TP_STRUCT__entry(
- __field(char *, s)
+ __string(s, s)
),
TP_fast_assign(
- __entry->s = s;
+ __assign_str(s, s);
),
- TP_printk("%s", __entry->s)
+ TP_printk("%s", __get_str(s))
);
TRACE_EVENT(cpufreq_interactive_unboost,
- TP_PROTO(char *s),
+ TP_PROTO(const char *s),
TP_ARGS(s),
TP_STRUCT__entry(
- __field(char *, s)
+ __string(s, s)
),
TP_fast_assign(
- __entry->s = s;
+ __assign_str(s, s);
),
- TP_printk("%s", __entry->s)
+ TP_printk("%s", __get_str(s))
);
#endif /* _TRACE_CPUFREQ_INTERACTIVE_H */