aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/hist.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 18:51:14 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 13:43:30 -0300
commit391e42060098a743a87380ed02bf4c8126742b04 (patch)
treeeaf7f2d5b7cc0fbf12d3ac00543597bcafed30be /tools/perf/util/hist.c
parentperf callchain: Move callchain specific routines from util.[ch] (diff)
downloadwireguard-linux-391e42060098a743a87380ed02bf4c8126742b04.tar.xz
wireguard-linux-391e42060098a743a87380ed02bf4c8126742b04.zip
perf tools: Include sys/param.h where needed
As it is going away from util.h, where it is not needed. This is mostly for things like MAXPATHLEN, MAX() and MIN(), these later two probably should go away in favor of its kernel sources replacements. Link: http://lkml.kernel.org/n/tip-z1666f3fl3fqobxvjr5o2r39@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/hist.c')
-rw-r--r--tools/perf/util/hist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c
index 65d42758aadd..2944458b9edf 100644
--- a/tools/perf/util/hist.c
+++ b/tools/perf/util/hist.c
@@ -12,6 +12,7 @@
#include "ui/progress.h"
#include <errno.h>
#include <math.h>
+#include <sys/param.h>
static bool hists__filter_entry_by_dso(struct hists *hists,
struct hist_entry *he);