Skip to content

Commit 6214766

Browse files
authored
Merge pull request #6 from charliechiou/main
Revise log format for consistency
2 parents 0b761ba + 5113ada commit 6214766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ static void ai_one_work_func(struct work_struct *w)
220220
tv_end = ktime_get();
221221

222222
nsecs = (s64) ktime_to_ns(ktime_sub(tv_end, tv_start));
223-
pr_info("kxo: [CPU#%d] doing %s for %llu usec\n", cpu, __func__,
223+
pr_info("kxo: [CPU#%d] %s completed in %llu usec\n", cpu, __func__,
224224
(unsigned long long) nsecs >> 10);
225225
put_cpu();
226226
}
@@ -254,7 +254,7 @@ static void ai_two_work_func(struct work_struct *w)
254254
tv_end = ktime_get();
255255

256256
nsecs = (s64) ktime_to_ns(ktime_sub(tv_end, tv_start));
257-
pr_info("kxo: [CPU#%d] end doing %s for %llu usec\n", cpu, __func__,
257+
pr_info("kxo: [CPU#%d] %s completed in %llu usec\n", cpu, __func__,
258258
(unsigned long long) nsecs >> 10);
259259
put_cpu();
260260
}

0 commit comments

Comments
 (0)