diff options
author | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
commit | 871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch) | |
tree | 8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/include/trace/events/cpufreq_interactive.h | |
parent | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff) | |
download | FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2 FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip |
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized.
Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/include/trace/events/cpufreq_interactive.h')
-rw-r--r-- | ANDROID_3.4.5/include/trace/events/cpufreq_interactive.h | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/ANDROID_3.4.5/include/trace/events/cpufreq_interactive.h b/ANDROID_3.4.5/include/trace/events/cpufreq_interactive.h deleted file mode 100644 index 951e6ca1..00000000 --- a/ANDROID_3.4.5/include/trace/events/cpufreq_interactive.h +++ /dev/null @@ -1,112 +0,0 @@ -#undef TRACE_SYSTEM -#define TRACE_SYSTEM cpufreq_interactive - -#if !defined(_TRACE_CPUFREQ_INTERACTIVE_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_CPUFREQ_INTERACTIVE_H - -#include <linux/tracepoint.h> - -DECLARE_EVENT_CLASS(set, - TP_PROTO(u32 cpu_id, unsigned long targfreq, - unsigned long actualfreq), - TP_ARGS(cpu_id, targfreq, actualfreq), - - TP_STRUCT__entry( - __field( u32, cpu_id ) - __field(unsigned long, targfreq ) - __field(unsigned long, actualfreq ) - ), - - TP_fast_assign( - __entry->cpu_id = (u32) cpu_id; - __entry->targfreq = targfreq; - __entry->actualfreq = actualfreq; - ), - - TP_printk("cpu=%u targ=%lu actual=%lu", - __entry->cpu_id, __entry->targfreq, - __entry->actualfreq) -); - -DEFINE_EVENT(set, cpufreq_interactive_setspeed, - TP_PROTO(u32 cpu_id, unsigned long targfreq, - unsigned long actualfreq), - TP_ARGS(cpu_id, targfreq, actualfreq) -); - -DECLARE_EVENT_CLASS(loadeval, - TP_PROTO(unsigned long cpu_id, unsigned long load, - unsigned long curtarg, unsigned long curactual, - unsigned long newtarg), - TP_ARGS(cpu_id, load, curtarg, curactual, newtarg), - - TP_STRUCT__entry( - __field(unsigned long, cpu_id ) - __field(unsigned long, load ) - __field(unsigned long, curtarg ) - __field(unsigned long, curactual ) - __field(unsigned long, newtarg ) - ), - - TP_fast_assign( - __entry->cpu_id = cpu_id; - __entry->load = load; - __entry->curtarg = curtarg; - __entry->curactual = curactual; - __entry->newtarg = newtarg; - ), - - TP_printk("cpu=%lu load=%lu cur=%lu actual=%lu targ=%lu", - __entry->cpu_id, __entry->load, __entry->curtarg, - __entry->curactual, __entry->newtarg) -); - -DEFINE_EVENT(loadeval, cpufreq_interactive_target, - TP_PROTO(unsigned long cpu_id, unsigned long load, - unsigned long curtarg, unsigned long curactual, - unsigned long newtarg), - TP_ARGS(cpu_id, load, curtarg, curactual, newtarg) -); - -DEFINE_EVENT(loadeval, cpufreq_interactive_already, - TP_PROTO(unsigned long cpu_id, unsigned long load, - unsigned long curtarg, unsigned long curactual, - unsigned long newtarg), - TP_ARGS(cpu_id, load, curtarg, curactual, newtarg) -); - -DEFINE_EVENT(loadeval, cpufreq_interactive_notyet, - TP_PROTO(unsigned long cpu_id, unsigned long load, - unsigned long curtarg, unsigned long curactual, - unsigned long newtarg), - TP_ARGS(cpu_id, load, curtarg, curactual, newtarg) -); - -TRACE_EVENT(cpufreq_interactive_boost, - TP_PROTO(const char *s), - TP_ARGS(s), - TP_STRUCT__entry( - __string(s, s) - ), - TP_fast_assign( - __assign_str(s, s); - ), - TP_printk("%s", __get_str(s)) -); - -TRACE_EVENT(cpufreq_interactive_unboost, - TP_PROTO(const char *s), - TP_ARGS(s), - TP_STRUCT__entry( - __string(s, s) - ), - TP_fast_assign( - __assign_str(s, s); - ), - TP_printk("%s", __get_str(s)) -); - -#endif /* _TRACE_CPUFREQ_INTERACTIVE_H */ - -/* This part must be outside protection */ -#include <trace/define_trace.h> |