perf tests: Add missing attr stat basic test
authorJiri Olsa <jolsa@redhat.com>
Mon, 5 Nov 2012 15:49:36 +0000 (16:49 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Nov 2012 17:03:59 +0000 (14:03 -0300)
commitdf4c6de857774252702acc20d4b0eddb329d8808
tree31414452e00dccc0ea226df45930d9dd09694789
parent68d807586ba83d9cb77f12c8fb7c97ea438d34ad
perf tests: Add missing attr stat basic test

Adding test to validate perf_event_attr data for command:
  'stat -e cycles'

Reported-by: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1352130579-13451-2-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/attr/base-stat [new file with mode: 0644]
tools/perf/tests/attr/test-stat-basic [new file with mode: 0644]