perf record: Make feature initialization generic
authorRobert Richter <robert.richter@amd.com>
Thu, 15 Dec 2011 16:32:40 +0000 (17:32 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 2 Feb 2012 19:41:17 +0000 (17:41 -0200)
commit781ba9d2ed9df07dbb413fb5ee80ef7d353841c9
tree1e3ce400e28b684a03237d5b3c5e4007e8f37566
parent4eced2347c447c9409877368fc52478c356b4767
perf record: Make feature initialization generic

Loop over all features to enable it instead of explicitly enabling every
single feature. Reducing duplicate code and making it more robust to
later changes e.g. when adding more features.

Cc: Ingo Molnar <mingo@elte.hu>
Link: http://lkml.kernel.org/r/1323966762-8574-3-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/builtin-record.c
tools/perf/util/header.h
This page took 0.025115 seconds and 5 git commands to generate.