]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
selftests/powerpc: Use "Delta" rather than "Error" in normal output
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 6 Jul 2016 05:17:34 +0000 (15:17 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 7 Jul 2016 06:33:26 +0000 (16:33 +1000)
Use "Delta" to refer to the difference between measurements, rather than
"Error", so scripts that look for "Error" aren't confused into thinking
there was a failure.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c

index 5da355135df2f8c5431d5e405f1312313401582a..ae9a7908611110e4d77fc22a8fe68be84222be2e 100644 (file)
@@ -51,7 +51,7 @@ static int do_count_loop(struct event *event, uint64_t instructions,
                printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead);
                printf("Expected %lu\n", expected);
                printf("Actual   %llu\n", event->result.value);
-               printf("Error    %ld, %f%%\n", difference, percentage);
+               printf("Delta    %ld, %f%%\n", difference, percentage);
                printf("Took %d EBBs\n", ebb_state.stats.ebb_count);
        }