diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-13 17:27:47 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-13 19:44:40 +0100 |
commit | bd53d722dde87d67742b4ff4ee192bd8c6058328 (patch) | |
tree | 52870d6ce57c5df3306e2adf4981cb5dd174b45d /lib/igt_core.h | |
parent | 1e9e1baba389fe498be12390ceeeacb1d141a5cf (diff) |
lib: add igt_vlog to print varargs
... and put it to immediate use in igt_display_log.
To make this all add up also drop the return value of igt_display_log,
no one really cared anyway.
Aside: I've noticed that every time another subtest runs (at least
with kms_pipe_crc_basic) the log indent level moves one up ...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt_core.h')
-rw-r--r-- | lib/igt_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_core.h b/lib/igt_core.h index 0e3d7be0..5c9065a5 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -389,6 +389,7 @@ enum igt_log_level { }; __attribute__((format(printf, 2, 3))) void igt_log(enum igt_log_level level, const char *format, ...); +void igt_vlog(enum igt_log_level level, const char *format, va_list args); /** * igt_debug: |