Borislav Petkov
0e55fa1131
perf tools: Move hash.h header
...
Put it into tools/include/ for general usage.
Signed-off-by: Borislav Petkov <[email protected] >
Cc: David Ahern <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Robert Richter <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2014-02-18 09:34:49 -03:00
Namhyung Kim
741a0c5903
tools include: Include <linux/compiler.h> from asm/bug.h
...
Since it uses unlikely() macro inside WARN()
Signed-off-by: Namhyung Kim <[email protected] >
Cc: Frederic Weisbecker <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Steven Rostedt <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2014-01-13 10:14:13 -03:00
Namhyung Kim
02dfc8d775
tools include: Move perf's bug.h to a generic place
...
So that it can be shared with others like libtraceevent.
Signed-off-by: Namhyung Kim <[email protected] >
Cc: Frederic Weisbecker <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Steven Rostedt <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
[ Added the new header to tools/perf/MANIFEST ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2014-01-13 10:06:26 -03:00
Namhyung Kim
835d44b904
tools include: Define likely/unlikely in linux/compiler.h
...
Signed-off-by: Namhyung Kim <[email protected] >
Cc: Frederic Weisbecker <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Steven Rostedt <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
[ Added the new header to tools/perf/MANIFEST ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2014-01-13 10:06:26 -03:00
Namhyung Kim
8a625c1f61
tools include: Move perf's linux/compiler.h to a generic place
...
So that it can be shared with others like libtraceevent.
Signed-off-by: Namhyung Kim <[email protected] >
Acked-by: Borislav Petkov <[email protected] >
Cc: Frederic Weisbecker <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Steven Rostedt <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2014-01-13 10:06:25 -03:00
Yaakov Selkowitz
b35310627f
tools/include: use stdint types for user-space byteshift headers
...
Commit a07f7672d7 added user-space copies
of the byteshift headers to be used by hostprogs, changing e.g. u8 to __u8.
However, in order to cross-compile the kernel from a non-Linux system,
stdint.h types need to be used instead of linux/types.h types.
Signed-off-by: Yaakov Selkowitz <[email protected] >
Signed-off-by: Michal Marek <[email protected] >
2013-07-03 16:02:28 +02:00
Matt Fleming
a07f7672d7
tools/include: Add byteshift headers for endian access
...
There are various hostprogs in the kernel that are rolling their own
implementations of {get,put}_unaligned_le*(). Copy the byteshift
headers from include/linux/unaligned so that they can all use a single
implementation.
This requires changing some of the data types to the userspace
exported ones (u32 -> __u32, etc).
Signed-off-by: Matt Fleming <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected] >
2012-02-28 10:22:51 -08:00