perf record: Move record_opts and other record decls out of perf.h
And into a separate util/record.h, to better isolate things and make sure that those who use record_opts and the other moved declarations are explicitly including the necessary header. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-31q8mei1qkh74qvkl9nwidfq@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
		| @@ -40,7 +40,6 @@ | ||||
|  *   Jaswinder Singh Rajput <jaswinder@kernel.org> | ||||
|  */ | ||||
| 
 | ||||
| #include "perf.h" | ||||
| #include "builtin.h" | ||||
| #include "util/cgroup.h" | ||||
| #include <subcmd/parse-options.h> | ||||
| @@ -62,6 +61,7 @@ | ||||
| #include "util/tool.h" | ||||
| #include "util/string2.h" | ||||
| #include "util/metricgroup.h" | ||||
| #include "util/target.h" | ||||
| #include "util/top.h" | ||||
| #include "asm/bug.h" | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user