#undef TRACE_SYSTEM #define TRACE_SYSTEM benchmark #if !defined(_TRACE_BENCHMARK_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_BENCHMARK_H #include extern int trace_benchmark_reg(void); extern void trace_benchmark_unreg(void); #define BENCHMARK_EVENT_STRLEN 128 TRACE_EVENT_FN(benchmark_event, TP_PROTO(const char *str), TP_ARGS(str), TP_STRUCT__entry( __array( char, str, BENCHMARK_EVENT_STRLEN ) ), TP_fast_assign( memcpy(__entry->str, str, BENCHMARK_EVENT_STRLEN); ), TP_printk("%s", __entry->str), trace_benchmark_reg, trace_benchmark_unreg ); #endif /* _TRACE_BENCHMARK_H */ #undef TRACE_INCLUDE_FILE #undef TRACE_INCLUDE_PATH #define TRACE_INCLUDE_PATH . #define TRACE_INCLUDE_FILE trace_benchmark /* This part must be outside protection */ #include /cgit.cgi/linux/net-next.git/'>net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mayer <mmayer@broadcom.com>2016-12-19 12:10:28 -0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-01-27 11:43:49 +0100
commit3c223c19aea85d3dda1416c187915f4a30b04b1f (patch)
tree2d2021f8161db3e9ed38b9a966a225b66dff8e58 /net/sctp/objcnt.c
parent9b02c54bc951fca884ba5719f42a27e8240965bf (diff)
cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend
The AVS GET_PMAP command does return a P-state along with the P-map information. However, that P-state is the initial P-state when the P-map was first downloaded to AVS. It is *not* the current P-state. Therefore, we explicitly retrieve the P-state using the GET_PSTATE command. Signed-off-by: Markus Mayer <mmayer@broadcom.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net/sctp/objcnt.c')