#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/cpu.h>
#include <linux/sysfs.h>
#include <linux/cpufreq.h>
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/percpu.h>
#include <linux/kobject.h>
#include <linux/spinlock.h>
#include <linux/notifier.h>
#include <asm/cputime.h>
Go to the source code of this file.
#define CPUFREQ_STATDEVICE_ATTR |
( |
|
_name, |
|
|
|
_mode, |
|
|
|
_show |
|
) |
| |
CPUFREQ_STATDEVICE_ATTR |
( |
total_trans |
, |
|
|
0444 |
, |
|
|
show_total_trans |
|
|
) |
| |
CPUFREQ_STATDEVICE_ATTR |
( |
time_in_state |
, |
|
|
0444 |
, |
|
|
show_time_in_state |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"'cpufreq_stats' - A driver to export cpufreq stats ""through sysfs filesystem" |
| ) |
|
module_exit |
( |
cpufreq_stats_exit |
| ) |
|
module_init |
( |
cpufreq_stats_init |
| ) |
|