sched: ems: ontime: Modify message of ontime trace log.
authorDaeyeong Lee <daeyeong.lee@samsung.com>
Tue, 8 May 2018 11:05:16 +0000 (20:05 +0900)
committerlakkyung.jung <lakkyung.jung@samsung.com>
Mon, 23 Jul 2018 05:58:47 +0000 (14:58 +0900)
Change-Id: I5560fd905fa03b77e4f609fc7d5d983b0405ac8c
Signed-off-by: Daeyeong Lee <daeyeong.lee@samsung.com>
kernel/sched/ems/ontime.c

index 33ca13c9e19c6f0a37a8a024f0f2ee710463c9ef..5d78eeebb1b6438ea10d368444fd112f5c59b194 100644 (file)
@@ -473,7 +473,7 @@ release:
         * If wakeup task doesn't satisfy ontime condition or there is no
         * possible dst_cpu, release this task from ontime
         */
-       trace_ems_ontime_task_wakeup(p, src_cpu, -1, "release ontime");
+       trace_ems_ontime_task_wakeup(p, src_cpu, -1, "not ontime");
        return -1;
 }
 
@@ -482,17 +482,17 @@ int ontime_can_migration(struct task_struct *p, int dst_cpu)
        int src_cpu = task_cpu(p);
 
        if (ontime_of(p)->migrating == 1) {
-               trace_ems_ontime_check_migrate(p, dst_cpu, false, "migrating");
+               trace_ems_ontime_check_migrate(p, dst_cpu, false, "on migrating");
                return false;
        }
 
        if (cpumask_test_cpu(dst_cpu, cpu_coregroup_mask(src_cpu))) {
-               trace_ems_ontime_check_migrate(p, dst_cpu, true, "same coregroup");
+               trace_ems_ontime_check_migrate(p, dst_cpu, true, "go to same");
                return true;
        }
 
        if (capacity_orig_of(dst_cpu) > capacity_orig_of(src_cpu)) {
-               trace_ems_ontime_check_migrate(p, dst_cpu, true, "bigger cpu");
+               trace_ems_ontime_check_migrate(p, dst_cpu, true, "go to bigger");
                return true;
        }
 
@@ -500,12 +500,12 @@ int ontime_can_migration(struct task_struct *p, int dst_cpu)
         * At this point, load balancer is trying to migrate task to smaller CPU.
         */
        if (ontime_load_avg(p) < get_down_threshold(src_cpu)) {
-               trace_ems_ontime_check_migrate(p, dst_cpu, true, "ontime_release");
+               trace_ems_ontime_check_migrate(p, dst_cpu, true, "light task");
                return true;
        }
 
        if (cpu_rq(src_cpu)->nr_running > 1) {
-               trace_ems_ontime_check_migrate(p, dst_cpu, true, "big is busy");
+               trace_ems_ontime_check_migrate(p, dst_cpu, true, "curr is busy");
                return true;
        }