mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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:
parent
fa0d98462f
commit
f2a39fe849
41 changed files with 98 additions and 38 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue