Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf tools: Drop prefetch.h

This was needed at the time before e66eed651fd1 ("list: remove
prefetching from regular list iterators") where the list iterators did
prefetch elements. This turned out to be counter-productive and hurt
performance and they were removed. Which makes the prefetch.h header
unused so drop it.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Robert Richter <rric@kernel.org>
Link: http://lkml.kernel.org/r/1391611914-26054-4-git-send-email-bp@alien8.de
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Borislav Petkov and committed by
Arnaldo Carvalho de Melo
5072f273 0e55fa11

-8
-1
tools/perf/Makefile.perf
··· 219 219 LIB_H += util/include/linux/list.h 220 220 LIB_H += util/include/linux/export.h 221 221 LIB_H += util/include/linux/poison.h 222 - LIB_H += util/include/linux/prefetch.h 223 222 LIB_H += util/include/linux/rbtree.h 224 223 LIB_H += util/include/linux/rbtree_augmented.h 225 224 LIB_H += util/include/linux/string.h
-1
tools/perf/util/include/linux/list.h
··· 1 1 #include <linux/kernel.h> 2 - #include <linux/prefetch.h> 3 2 4 3 #include "../../../../include/linux/list.h" 5 4
-6
tools/perf/util/include/linux/prefetch.h
··· 1 - #ifndef PERF_LINUX_PREFETCH_H 2 - #define PERF_LINUX_PREFETCH_H 3 - 4 - static inline void prefetch(void *a __attribute__((unused))) { } 5 - 6 - #endif