diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-30 19:45:20 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-09-01 03:24:10 +0200 |
commit | f2a39fe84901df2b3d1bec3459b65cee3e8db57c (patch) | |
tree | 399cb01cdf9a8c771e734ed4344a18840845f9bf /tools/perf/arch/x86 | |
parent | perf tools: Remove needless evlist.h include directives (diff) | |
download | linux-f2a39fe84901df2b3d1bec3459b65cee3e8db57c.tar.xz linux-f2a39fe84901df2b3d1bec3459b65cee3e8db57c.zip |
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>
Diffstat (limited to 'tools/perf/arch/x86')
-rw-r--r-- | tools/perf/arch/x86/tests/perf-time-to-tsc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/tests/perf-time-to-tsc.c b/tools/perf/arch/x86/tests/perf-time-to-tsc.c index 2d1f4713b728..eb3635941c2b 100644 --- a/tools/perf/arch/x86/tests/perf-time-to-tsc.c +++ b/tools/perf/arch/x86/tests/perf-time-to-tsc.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include <errno.h> #include <inttypes.h> +#include <limits.h> #include <stdbool.h> #include <stdio.h> #include <unistd.h> |