perf auxtrace: Uninline functions that touch perf_session
So that we don't carry the session.h include directive in auxtrace.h, which in turn opens a can of worms of files that were getting all sorts of things via that include, fix them all. 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-d2d83aovpgri2z75wlitquni@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -13,7 +13,9 @@
|
||||
|
||||
#include "debug.h"
|
||||
#include "dso.h"
|
||||
#include "env.h"
|
||||
#include "parse-events.h"
|
||||
#include "trace-event.h"
|
||||
#include "evlist.h"
|
||||
#include "evsel.h"
|
||||
#include "thread_map.h"
|
||||
@@ -496,6 +498,10 @@ static void fs_something(void)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef __s390x__
|
||||
#include "header.h" // for get_cpuid()
|
||||
#endif
|
||||
|
||||
static const char *do_determine_event(bool excl_kernel)
|
||||
{
|
||||
const char *event = excl_kernel ? "cycles:u" : "cycles";
|
||||
|
Reference in New Issue
Block a user