Skip to content

Commit

Permalink
cpufreq: interactive: fixup trace of string params
Browse files Browse the repository at this point in the history
Change-Id: Iac47f62437e61b13724afbbf9df1a0729f58f236
Signed-off-by: Todd Poynor <toddpoynor@google.com>
  • Loading branch information
toddpoynor authored and pershoot committed May 13, 2012
1 parent a6d0d54 commit b48fdc7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions include/trace/events/cpufreq_interactive.h
Expand Up @@ -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 */
Expand Down

0 comments on commit b48fdc7

Please sign in to comment.