pass: Print thermal name for each resource 74/151574/2
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 21 Sep 2017 07:49:21 +0000 (16:49 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 21 Sep 2017 07:58:08 +0000 (16:58 +0900)
This patch just prints the thermal name for each resource
for starting PASS in order to provide the resource information.

Change-Id: I2824186649a784722d1647df2fea0082256a63a8
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass.c

index 894abe5bc53960fe52406df3d64df7b957591d4e..261817870c5ea001b248c3e8ddf98cdfd4f7751f 100644 (file)
@@ -251,6 +251,7 @@ static int pass_init_done(void *data, void *user_data)
 
                _I("Resource%d type           : %d\n", i, cdata->res_type);
                _I("Resource%d name           : %s\n", i, cdata->res_name);
+               _I("Resource%d thermal name   : %s\n", i, cdata->res_thermal_name);
                _I("Resource%d path_conf_file : %s\n", i, cdata->path_conf_file);
                _I("Resource%d path_load_table: %s\n", i, cdata->path_load_table);
                _I("Resource%d number of cpus : %d\n", i, cdata->num_cpus);