Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a43783ae authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

perf tools: Include errno.h where needed

Removing it from util.h, part of an effort to disentangle the includes
hell, that makes changes to util.h or something included by it to cause
a complete rebuild of the tools.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-ztrjy52q1rqcchuy3rubfgt2@git.kernel.org


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent a067558e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
 * published by the Free Software Foundation.
 */

#include <errno.h>
#include <stddef.h>
#include <dwarf-regs.h>
#include <linux/ptrace.h> /* for struct user_pt_regs */
+1 −0
Original line number Diff line number Diff line
#include <errno.h>
#include "util/kvm-stat.h"
#include "util/parse-events.h"
#include "util/debug.h"
+1 −0
Original line number Diff line number Diff line
#include <errno.h>
#include <string.h>
#include <regex.h>

+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
 * as published by the Free Software Foundation.
 */

#include <errno.h>
#include "../../util/kvm-stat.h"
#include <asm/sie.h>

+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
#include "arch-tests.h"

#include <sys/mman.h>
#include <errno.h>
#include <string.h>

static pid_t spawn(void)
Loading