perf tests: Fix typo in sample-parsing.c
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 22 Jan 2015 17:01:23 +0000 (18:01 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Jan 2015 20:03:01 +0000 (17:03 -0300)
commit605a3069161dd966d6cea795133c673fb6706e52
treeb7033e68d785b18e925370a4ef95f1b545be6f0c
parentf816b3cc99804a9f771315331deb36abec47f5b4
perf tests: Fix typo in sample-parsing.c

It was testing the same buffer for differences:

   memcmp(s1->user_stack.data, s1->user_stack.data, s1->user_stack.size)

I'm pretty sure this wasn't supposed to be dead code.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1421946083-29863-1-git-send-email-linux@rasmusvillemoes.dk
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/sample-parsing.c