summaryrefslogtreecommitdiff
path: root/thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'thermal.c')
-rw-r--r--thermal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/thermal.c b/thermal.c
index 5f2fb80..684c52f 100644
--- a/thermal.c
+++ b/thermal.c
@@ -35,11 +35,13 @@
#define CPU_PRESENT_FILE "/sys/devices/system/cpu/present"
const char * __attribute__ ((weak)) get_cpu_label(unsigned int cpu_num) {
+ ALOGD("Entering %s",__func__);
static const char * cpu_label = "cpu";
return cpu_label;
}
size_t __attribute__ ((weak)) get_num_cpus() {
+ ALOGD("Entering %s",__func__);
FILE *file;
char *line = NULL;
size_t len = 0;
@@ -70,10 +72,12 @@ size_t __attribute__ ((weak)) get_num_cpus() {
}
ssize_t __attribute__ ((weak)) get_temperatures(thermal_module_t *module, temperature_t *list, size_t size) {
+ ALOGD("Entering %s",__func__);
return 0;
}
static ssize_t get_cpu_usages(thermal_module_t *module, cpu_usage_t *list) {
+ ALOGD("Entering %s",__func__);
int vals, cpu_num, online;
ssize_t read;
uint64_t user, nice, system, idle, active, total;