linux/tools/perf
Jiri Olsa bceb59b1f2 libperf: Add PERF_RECORD_FORK 'struct fork_event' to perf/event.h
Move the fork_event event definition into libperf's event.h header
include.

In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used
events to their generic '__u*' versions.

Perf added 'u*' types mainly to ease up printing __u64 values
as stated in the linux/types.h comment:

  /*
   * We define u64 as uint64_t for every architecture
   * so that we can print it with "%"PRIx64 without getting warnings.
   *
   * typedef __u64 u64;
   * typedef __s64 s64;
   */

Add and use new PRI_lu64 and PRI_lx64 macros for that.  Using extra '_'
to ease up the reading and differentiate them from standard PRI*64
macros.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190825181752.722-6-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-08-26 19:39:09 -03:00
..
arch perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58:22 -03:00
bench
Documentation
examples/bpf perf augmented_raw_syscalls: Reduce perf_event_output() boilerplate 2019-08-26 11:58:29 -03:00
include/bpf
jvmti
lib libperf: Add PERF_RECORD_FORK 'struct fork_event' to perf/event.h 2019-08-26 19:39:09 -03:00
pmu-events
python
scripts
tests perf tests: Fixes hang in zstd compression test by changing the source of random data 2019-08-26 11:58:29 -03:00
trace perf trace beauty ioctl: Fix off-by-one error in cmd->string table 2019-08-26 11:58:29 -03:00
ui perf script: Fix memory leaks in list_scripts() 2019-08-26 11:58:30 -03:00
util libperf: Add PERF_RECORD_FORK 'struct fork_event' to perf/event.h 2019-08-26 19:39:09 -03:00
.gitignore
Build
builtin-annotate.c
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-c2c.c perf cacheline: Move cacheline related routines to separate files 2019-08-26 11:58:29 -03:00
builtin-config.c
builtin-data.c
builtin-diff.c perf srcline: Add missing srcline.h header to files needing its defs 2019-08-26 11:58:29 -03:00
builtin-evlist.c
builtin-ftrace.c libperf: Add perf_thread_map__nr/perf_thread_map__pid functions 2019-08-22 17:16:57 -03:00
builtin-help.c
builtin-inject.c
builtin-kallsyms.c
builtin-kmem.c
builtin-kvm.c
builtin-list.c
builtin-lock.c
builtin-mem.c
builtin-probe.c
builtin-record.c perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58:22 -03:00
builtin-report.c perf srcline: Add missing srcline.h header to files needing its defs 2019-08-26 11:58:29 -03:00
builtin-sched.c
builtin-script.c perf srcline: Add missing srcline.h header to files needing its defs 2019-08-26 11:58:29 -03:00
builtin-stat.c perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58:22 -03:00
builtin-timechart.c
builtin-top.c
builtin-trace.c perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58:22 -03:00
builtin-version.c
builtin.h
check-headers.sh
command-list.txt
CREDITS
design.txt
Makefile
Makefile.config
Makefile.perf
MANIFEST
perf-archive.sh
perf-completion.sh
perf-read-vdso.c
perf-sys.h
perf-with-kcore.sh
perf.c
perf.h perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58:22 -03:00