mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
perf evsel: No need to drag util/cgroup.h
The only thing we need is a forward declaration for 'struct cgroup_sel', that is inside 'struct perf_evsel'. Include cgroup.h instead on the tools that support cgroups. Cc: Adrian Hunter <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: David Ahern <[email protected]> Cc: Don Zickus <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jean Pihet <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
parent
724ce97e9f
commit
f14d570785
4 changed files with 5 additions and 1 deletions
|
|
@ -15,6 +15,7 @@
|
|||
#include "util/parse-events.h"
|
||||
|
||||
#include "util/callchain.h"
|
||||
#include "util/cgroup.h"
|
||||
#include "util/header.h"
|
||||
#include "util/event.h"
|
||||
#include "util/evlist.h"
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@
|
|||
|
||||
#include "perf.h"
|
||||
#include "builtin.h"
|
||||
#include "util/cgroup.h"
|
||||
#include "util/util.h"
|
||||
#include "util/parse-options.h"
|
||||
#include "util/parse-events.h"
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
#include <sys/resource.h>
|
||||
#include "asm/bug.h"
|
||||
#include "callchain.h"
|
||||
#include "cgroup.h"
|
||||
#include "evsel.h"
|
||||
#include "evlist.h"
|
||||
#include "util.h"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include <linux/perf_event.h>
|
||||
#include <linux/types.h>
|
||||
#include "xyarray.h"
|
||||
#include "cgroup.h"
|
||||
#include "symbol.h"
|
||||
|
||||
struct perf_counts_values {
|
||||
|
|
@ -42,6 +41,8 @@ struct perf_sample_id {
|
|||
u64 period;
|
||||
};
|
||||
|
||||
struct cgroup_sel;
|
||||
|
||||
/** struct perf_evsel - event selector
|
||||
*
|
||||
* @name - Can be set to retain the original event name passed by the user,
|
||||
|
|
|
|||
Loading…
Reference in a new issue