diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-02 22:35:28 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-04 09:16:38 +0000 |
commit | 625b430519992baa253e204fb3204282a897b4e0 (patch) | |
tree | a06d10f0416cb09ed8227934f9aa30ca1df5a27b /tests/perf_pmu.c | |
parent | 0b9ac934a6aad9ed5c1fdfd48d2b0faa10bfbbc4 (diff) |
i915/perf_pmu: Add trailing '\n' to an igt_assert_f
A missing newline at the end of an assert, so add it for clarity in the
error message.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tests/perf_pmu.c')
-rw-r--r-- | tests/perf_pmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/perf_pmu.c b/tests/perf_pmu.c index c9881e59..aa5b9921 100644 --- a/tests/perf_pmu.c +++ b/tests/perf_pmu.c @@ -707,7 +707,7 @@ sema_wait(int gem_fd, const struct intel_execution_engine2 *e, } while (!obj_ptr[1]); igt_assert_f(igt_wait(pmu_read_single(fd) != val[0], 10, 1), - "sampling failed to start withing 10ms"); + "sampling failed to start withing 10ms\n"); val[0] = __pmu_read_single(fd, &ts[0]); slept = measured_usleep(batch_duration_ns / 1000); |