mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
cpufreq: interactive: fixup trace of string params
Change-Id: Iac47f62437e61b13724afbbf9df1a0729f58f236 Signed-off-by: Todd Poynor <toddpoynor@google.com>
This commit is contained in:
parent
808bb2cfaa
commit
8385ba129a
1 changed files with 8 additions and 8 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue