perf tools: Remove util.h from where it is not needed
Check that it is not needed and remove, fixing up some fallout for places where it was only serving to get something else. 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-9h6dg6lsqe2usyqjh5rrues4@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
#ifndef _PERF_BRANCH_H
|
||||
#define _PERF_BRANCH_H 1
|
||||
|
||||
/*
|
||||
* The linux/stddef.h isn't need here, but is needed for __always_inline used
|
||||
* in files included from uapi/linux/perf_event.h such as
|
||||
* /usr/include/linux/swab.h and /usr/include/linux/byteorder/little_endian.h,
|
||||
* detected in at least musl libc, used in Alpine Linux. -acme
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/stddef.h>
|
||||
#include <linux/perf_event.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
|
Reference in New Issue
Block a user