diff options
author | Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com> | 2021-07-22 19:15:39 +0200 |
---|---|---|
committer | Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com> | 2021-08-10 11:52:57 +0200 |
commit | 022a2d326229d66f196ab0d68a02a81c74e72299 (patch) | |
tree | ad84bd4c1b7f4f10b93fb64719bc573a070c5b7d /lib/intel_batchbuffer.c | |
parent | 7ed112d82c228e755fa773253a25f407bb20965b (diff) |
lib/core: Add igt_debug_on* variants
If a test calls a function which can return a failure, only the fact
that the function failed can be reported to the caller, with no details
on what actually failed inside. It could be helpful if functions which
perform several steps or iterations emitted debug messages with failure
details.
To simplify coding and avoid code duplication in functions, igt_debug
variants similar to igt_warn_on and friends could be useful. Add them.
Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Acked-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions