Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp902116ybl; Wed, 28 Aug 2019 07:01:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwIOPyU6Jrq5SQ8Halr9ZpLbC4fvmF1Ih2VbLeAf2/UNf4YRHBsaH9NSkxONObbgEjs04xP X-Received: by 2002:a17:90a:3082:: with SMTP id h2mr4452287pjb.53.1567000862621; Wed, 28 Aug 2019 07:01:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567000862; cv=none; d=google.com; s=arc-20160816; b=qFTlTwb2EfJuBzFZHaMJ4fJi3pA8jPnvtKchK9KornbqtTL6+dl54VM+H3B44t0Qlq xyj6GBW+ZBnjWGKEvJtMZhygwUS0ATI8d4jlrxPL7WdmwpwajOG0RBQJmQrmayITAo21 mmMlaz5no98KOHME70a0z3PuXLAemSa1cQm5Z+wJFfl9hFHJOoun1myDBF4231mswJpR nb/6l7wa8850GFC/vdo82BXUifSLE1se6289vRJf8D6VZByqGsfvFFQ68uhLM6PduxC8 g1qItilEK40Hi7X5Zom5/Ph5wf3U/2TM4Ft9iZXWKALicU/6+nNn126dIFg2ga9cK3pE B6kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=kggjIENCtIw4NslUFhCPS7ZSlnfz1R2lVUxK5B2Iq0o=; b=vEpM9clBk9qi37CkMyW9GrhV3lL6HvQT9B8aj41c7DQAu1Tj3v+IHx6uDgjvpsgEzL DCSwn5iSskSvMO/xs5MH5+K2sq+qsWB88pcaA+oEoXif3j2SFFAnyCvODhjlkxO/2ovR pAcxe8rYuGvCglHIpPecVSIl4Eyrl+h3fhJUfnQDn3dcl0FJomUkAxdwthgm2U8yJkNN C50VcyV5n6dxF++TTNebw3SC9XbG23aLXUk/eVOmHgVRqpd0wdkHmwTsEO0iS4QrG9xr iVtje+T3hQ3qdGa+2l4u8bfuHyANBifTgT84ePq3gMtxN3WE/qV+QKlIky1PhPISngEg qy3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x126si2242856pgx.356.2019.08.28.07.00.46; Wed, 28 Aug 2019 07:01:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726429AbfH1N5V (ORCPT + 99 others); Wed, 28 Aug 2019 09:57:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58924 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726326AbfH1N5V (ORCPT ); Wed, 28 Aug 2019 09:57:21 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5B15AA53264; Wed, 28 Aug 2019 13:57:20 +0000 (UTC) Received: from krava.brq.redhat.com (unknown [10.43.17.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9A4CE1001B00; Wed, 28 Aug 2019 13:57:18 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan Subject: [PATCH 00/23] libperf: Add rest of events to perf/event.h Date: Wed, 28 Aug 2019 15:56:54 +0200 Message-Id: <20190828135717.7245-1-jolsa@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.68]); Wed, 28 Aug 2019 13:57:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-)