linux_dsm_epyc7002/tools/perf/lib
Jiri Olsa a2e254d841 libperf: Add PERF_RECORD_LOST_SAMPLES 'struct lost_samples_event' to perf/event.h
Move the PERF_RECORD_LOST_SAMPLES 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.  Use 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-8-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-08-26 19:39:10 -03:00
..
Documentation libperf: Initial documentation 2019-07-29 18:34:47 -03:00
include libperf: Add PERF_RECORD_LOST_SAMPLES 'struct lost_samples_event' to perf/event.h 2019-08-26 19:39:10 -03:00
tests libperf: Add perf_evsel__enable/disable test 2019-07-29 18:34:47 -03:00
Build libperf: Adopt the readn()/writen() functions from tools/perf 2019-07-29 18:34:46 -03:00
core.c libperf: Add debug output support 2019-07-29 18:34:44 -03:00
cpumap.c libperf: Move perf's cpu_map__idx() to perf_cpu_map__idx() 2019-08-22 11:18:45 -03:00
evlist.c libperf: Adopt perf_evlist__enable()/disable() functions from perf 2019-07-29 18:34:46 -03:00
evsel.c libperf: Add perf_evsel__attr() function 2019-07-29 18:34:46 -03:00
internal.h libperf: Add debug output support 2019-07-29 18:34:44 -03:00
lib.c libperf: Adopt the readn()/writen() functions from tools/perf 2019-07-29 18:34:46 -03:00
libperf.map libperf: Add perf_thread_map__nr/perf_thread_map__pid functions 2019-08-22 17:16:57 -03:00
libperf.pc.template libperf: Add install targets 2019-07-29 18:34:46 -03:00
Makefile libperf: Fix arch include paths 2019-08-20 12:29:36 -03:00
threadmap.c libperf: Add perf_thread_map__nr/perf_thread_map__pid functions 2019-08-22 17:16:57 -03:00
xyarray.c libperf: Adopt xyarray class from perf 2019-07-29 18:34:45 -03:00