]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf tests: Factor attr tests WRITE_ASS macro
authorJiri Olsa <jolsa@redhat.com>
Mon, 5 Nov 2012 15:49:37 +0000 (16:49 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Nov 2012 17:03:59 +0000 (14:03 -0300)
commit89f552d684925ef9f1dca8b4b2b18fb981dc3d8c
tree35cf5bf7230b018972741681cc60c8ab8e4d03f2
parentdf4c6de857774252702acc20d4b0eddb329d8808
perf tests: Factor attr tests WRITE_ASS macro

Changing WRITE_ASS macro per Namhyung's comments, so the main usage case
takes only attr field name and format string.

Suggested-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-3-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/attr.c