Skip to contentSkip to conversation

perf annotate: Add missing machine.h include directive

tip: perf/urgent tip-bot2 for Arnaldo Carvalho de Melo 1 participant 1 message Sep 20, 2019 1 message not in the archive perf events

lore
Share & tools
lore

tip-bot2 for Arnaldo Carvalho de Melo

author merge bot Applied
#1 lore raw
In reply to a message not in the archive

The following commit has been merged into the perf/urgent branch of tip:

Commit-ID:     3f79132a47035dd4609cc5f47715331dfafaa1fa
Gitweb:        https://git.kernel.org/tip/3f79132a47035dd4609cc5f47715331dfafaa1fa
Author:        Arnaldo Carvalho de Melo <[email protected]>
AuthorDate:    Wed, 18 Sep 2019 10:10:43 -03:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
CommitterDate: Fri, 20 Sep 2019 09:19:22 -03:00

perf annotate: Add missing machine.h include directive

We use what is defined there, were getting it by luck, indirectly, fix it.

---
 tools/perf/builtin-annotate.c | 1 +
 1 file changed, 1 insertion(+)
tools/perf/builtin-annotate.c +1 -0
index 4e4d2e7..553c651 100644
@@ -27,6 +27,7 @@
 #include "util/sort.h"
 #include "util/hist.h"
 #include "util/dso.h"
+#include "util/machine.h"
 #include "util/map.h"
 #include "util/session.h"
 #include "util/tool.h"