perf tools: Improve macros for struct feature_ops
authorRobert Richter <robert.richter@amd.com>
Wed, 7 Dec 2011 09:02:56 +0000 (10:02 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 23 Dec 2011 18:56:27 +0000 (16:56 -0200)
commit8cdfa78a885d94a79205d183a611ebc4876d6f33
tree8ed51a03a0a3ef562ae08628e772b5299ef57e0e
parent41d0d933494ce10eb77758a1168b08e317c42e8e
perf tools: Improve macros for struct feature_ops

Reducing duplication and line size by extending function names for
print and write from a single name.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1323248577-11268-7-git-send-email-robert.richter@amd.com
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c