summaryrefslogtreecommitdiff
path: root/thermal-8998.c
diff options
context:
space:
mode:
Diffstat (limited to 'thermal-8998.c')
-rw-r--r--thermal-8998.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/thermal-8998.c b/thermal-8998.c
index da7c69b..a43159b 100644
--- a/thermal-8998.c
+++ b/thermal-8998.c
@@ -88,6 +88,7 @@ static ssize_t read_temperature(int sensor_num, int type, const char *name, floa
float throttling_threshold, float shutdown_threshold, float vr_throttling_threshold,
temperature_t *out)
{
+ ALOGD("Entering %s",__func__);
FILE *file;
char file_name[MAX_LENGTH];
float temp;
@@ -120,6 +121,7 @@ static ssize_t read_temperature(int sensor_num, int type, const char *name, floa
static ssize_t get_cpu_temperatures(temperature_t *list, size_t size)
{
+ ALOGD("Entering %s",__func__);
size_t cpu;
for (cpu = 0; cpu < CPU_NUM; cpu++) {
if (cpu >= size) {
@@ -138,6 +140,7 @@ static ssize_t get_cpu_temperatures(temperature_t *list, size_t size)
}
ssize_t get_temperatures(thermal_module_t *module, temperature_t *list, size_t size) {
+ ALOGD("Entering %s",__func__);
ssize_t result = 0;
size_t current_index = 0;