[PATCH 00/23] libperf: Add rest of events to perf/event.h

From: Jiri Olsa
Date: Wed Aug 28 2019 - 09:57:23 EST


hi,
to export 'union perf_event' we need to export the rest of events.

It's also available in here:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/fixes

thanks,
jirka


---
Jiri Olsa (23):
libperf: Add PERF_RECORD_HEADER_ATTR 'struct attr_event' to perf/event.h
libperf: Add PERF_RECORD_CPU_MAP 'struct cpu_map_event' to perf/event.h
libperf: Add PERF_RECORD_EVENT_UPDATE 'struct event_update_event' to perf/event.h
libperf: Add PERF_RECORD_HEADER_EVENT_TYPE 'struct event_type_event' to perf/event.h
libperf: Add PERF_RECORD_HEADER_TRACING_DATA 'struct tracing_data_event' to perf/event.h
libperf: Add PERF_RECORD_HEADER_BUILD_ID 'struct build_id_event' to perf/event.h
libperf: Add PERF_RECORD_ID_INDEX 'struct id_index_event' to perf/event.h
libperf: Add PERF_RECORD_AUXTRACE_INFO 'struct auxtrace_info_event' to perf/event.h
libperf: Add PERF_RECORD_AUXTRACE 'struct auxtrace_event' to perf/event.h
libperf: Add PERF_RECORD_AUXTRACE_ERROR 'struct auxtrace_error_event' to perf/event.h
libperf: Add PERF_RECORD_AUX 'struct aux_event' to perf/event.h
libperf: Add PERF_RECORD_ITRACE_START 'struct itrace_start_event' to perf/event.h
libperf: Add PERF_RECORD_SWITCH 'struct context_switch_event' to perf/event.h
libperf: Add PERF_RECORD_THREAD_MAP 'struct thread_map_event' to perf/event.h
libperf: Add PERF_RECORD_STAT_CONFIG 'struct stat_config_event' to perf/event.h
libperf: Add PERF_RECORD_STAT 'struct stat_event' to perf/event.h
libperf: Add PERF_RECORD_STAT_ROUND 'struct stat_round_event' to perf/event.h
libperf: Add PERF_RECORD_TIME_CONV 'struct time_conv_event' to perf/event.h
libperf: Add PERF_RECORD_HEADER_FEATURE 'struct feature_event' to perf/event.h
libperf: Add PERF_RECORD_COMPRESSED 'struct compressed_event' to perf/event.h
libperf: Add 'union perf_event' to perf/event.h
libperf: Rename the PERF_RECORD_ structs to have a "perf" prefix
libperf: Move 'enum perf_user_event_type' to perf/event.h

tools/perf/arch/arm/util/cs-etm.c | 4 +--
tools/perf/arch/arm64/util/arm-spe.c | 2 +-
tools/perf/arch/s390/util/auxtrace.c | 2 +-
tools/perf/arch/x86/util/intel-bts.c | 2 +-
tools/perf/arch/x86/util/intel-pt.c | 4 +--
tools/perf/arch/x86/util/tsc.c | 2 +-
tools/perf/builtin-record.c | 4 +--
tools/perf/builtin-report.c | 2 +-
tools/perf/builtin-script.c | 2 +-
tools/perf/builtin-stat.c | 2 +-
tools/perf/lib/include/perf/event.h | 273 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/perf/tests/cpumap.c | 12 ++++----
tools/perf/tests/event_update.c | 16 +++++-----
tools/perf/tests/stat.c | 8 ++---
tools/perf/tests/thread-map.c | 2 +-
tools/perf/util/arm-spe.c | 6 ++--
tools/perf/util/auxtrace.c | 20 ++++++------
tools/perf/util/auxtrace.h | 8 ++---
tools/perf/util/build-id.c | 2 +-
tools/perf/util/cpumap.c | 6 ++--
tools/perf/util/cpumap.h | 4 +--
tools/perf/util/cs-etm.c | 2 +-
tools/perf/util/event.c | 38 +++++++++++------------
tools/perf/util/event.h | 278 +++--------------------------------------------------------------------------------------------------------------------------------------------------------------------
tools/perf/util/header.c | 56 +++++++++++++++++-----------------
tools/perf/util/intel-bts.c | 6 ++--
tools/perf/util/intel-pt.c | 12 ++++----
tools/perf/util/python.c | 4 +--
tools/perf/util/s390-cpumsf.c | 4 +--
tools/perf/util/session.c | 28 ++++++++---------
tools/perf/util/session.h | 2 +-
tools/perf/util/stat.c | 12 ++++----
tools/perf/util/thread_map.c | 4 +--
tools/perf/util/thread_map.h | 4 +--
34 files changed, 418 insertions(+), 415 deletions(-)