diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-10-14 12:52:00 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-10-14 13:19:12 +0300 |
commit | 230df2dc2ac60e30b76612ee6f1429f165323472 (patch) | |
tree | 01580adb60b2b44ce6d8ee71d5eb24d735657a97 /lib | |
parent | 171b21d9f761da5865f66cb55cbb5eb875a41b92 (diff) |
tests: prefix IGT kernel log messages with [IGT]
Make the IGT logging stand out better and easier to grep.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/igt_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/igt_core.c b/lib/igt_core.c index 43db4684..9cd5f98d 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -734,7 +734,7 @@ out: exit(ret == -1 ? 0 : IGT_EXIT_INVALID); if (!list_subtests) { - kmsg(KERN_INFO "%s: executing\n", command_str); + kmsg(KERN_INFO "[IGT] %s: executing\n", command_str); print_version(); oom_adjust_for_doom(); @@ -860,7 +860,7 @@ bool __igt_run_subtest(const char *subtest_name) return false; } - kmsg(KERN_INFO "%s: starting subtest %s\n", command_str, subtest_name); + kmsg(KERN_INFO "[IGT] %s: starting subtest %s\n", command_str, subtest_name); igt_debug("Starting subtest: %s\n", subtest_name); _igt_log_buffer_reset(); @@ -1343,7 +1343,7 @@ void igt_exit(void) } if (command_str) - kmsg(KERN_INFO "%s: exiting, ret=%d\n", + kmsg(KERN_INFO "[IGT] %s: exiting, ret=%d\n", command_str, igt_exitcode); igt_debug("Exiting with status code %d\n", igt_exitcode); |