Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2730273ybl; Thu, 29 Aug 2019 12:04:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOgms2PUQ3Z/Mz+o7gJRgmS7JAKYpNn0YtWJif0eh8CfKHEiZ7BjS326uZqKLNm6F49qeQ X-Received: by 2002:a17:902:7444:: with SMTP id e4mr11048807plt.72.1567105466903; Thu, 29 Aug 2019 12:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567105466; cv=none; d=google.com; s=arc-20160816; b=bpIC0YnCbqwVfl7w2poGUVLxF6z41HgujwbQSCqwNaJNSwF3NjsHUKEsdz0fQInwhZ qmY2Wo/4V8uFnd7a4AkmrLMPO/eU2Ym5AV1uC6azCU8DEoFn6KXzdPt/jlpGBZs2uqnf 0Al2LM0WhPm5xSKRBaMrRfPaOWlN1DPKKjfljckYUcGxRZ2pWrZ8+Wvhj6YzxbkxjdLm k/MBk9lmgopuSX32gDAhTg3JIVtm47vBH1XkjcgSlGotPeJ/Et/DyMDTjraeptkKA7l1 9ERcqxig8pyNOLhUJlJraNyi5ofxdWtlpXLnwn4S0CVEs27whPeK0epTFjk2K7Vsq+cv 1K4g== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=86cOz+kF2gdb74q1xMIyNNkyEd80iDA1195dsJHsqKk=; b=rn8n0SIWWv2sAWMWgdJABcDZQ9F5tsH1mqgnIAQ8Uj9WNQ3Vm9jhFyRQ8pSkizr0/l chKgIuk3D67kBtc9DwSSyQmlCzaLfVK0+c4rJJlrVBLvN2JB+VK8k0ua3kaieml7wIFe p8TbveW+93u9YG4/NnX2wdIHURL3PLKQwY4/2WC69372dzDj4BrZJQ/HUWMK/wjrka5z xz8XlJNW6l6z+s03W+MaYEiLbz1WalVXMJXXUW1ucQN460emPC4FKRlAmNBrYScrYoqT 5ELgEvhLKvXnWl1G321XzSLlHZc75xyDtuXRTDzfEieXdo+7g7/P2HzT1/qVMR0Ls9ci 0CKw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t62si2664212pgd.175.2019.08.29.12.04.07; Thu, 29 Aug 2019 12:04:26 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728939AbfH2TCq (ORCPT + 99 others); Thu, 29 Aug 2019 15:02:46 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:51555 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728918AbfH2TCQ (ORCPT ); Thu, 29 Aug 2019 15:02:16 -0400 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1i3PgO-0005EW-2X; Thu, 29 Aug 2019 21:02:08 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id D04B81C0DEB; Thu, 29 Aug 2019 21:01:59 +0200 (CEST) Date: Thu, 29 Aug 2019 19:01:59 -0000 From: "tip-bot2 for Jiri Olsa" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] libperf: Add PERF_RECORD_TIME_CONV 'struct time_conv_event' to perf/event.h Cc: Jiri Olsa , Alexander Shishkin , Michael Petlan , Namhyung Kim , Peter Zijlstra , Arnaldo Carvalho de Melo , Ingo Molnar , Borislav Petkov , linux-kernel@vger.kernel.org In-Reply-To: <20190828135717.7245-19-jolsa@kernel.org> References: <20190828135717.7245-19-jolsa@kernel.org> MIME-Version: 1.0 Message-ID: <156710531977.10595.9991241484739982312.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the perf/core branch of tip: Commit-ID: bfd922d8f09a692f2a952a67451bc3eeaad3fb73 Gitweb: https://git.kernel.org/tip/bfd922d8f09a692f2a952a67451bc3eeaad3fb73 Author: Jiri Olsa AuthorDate: Wed, 28 Aug 2019 15:57:12 +02:00 Committer: Arnaldo Carvalho de Melo CommitterDate: Thu, 29 Aug 2019 08:36:12 -03:00 libperf: Add PERF_RECORD_TIME_CONV 'struct time_conv_event' to perf/event.h Move the PERF_RECORD_TIME_CONV event definition to libperf's event.h. In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used events to their generic '__u*' versions. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Michael Petlan Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20190828135717.7245-19-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/lib/include/perf/event.h | 7 +++++++ tools/perf/util/event.h | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/perf/lib/include/perf/event.h b/tools/perf/lib/include/perf/event.h index 34d365b..7600f53 100644 --- a/tools/perf/lib/include/perf/event.h +++ b/tools/perf/lib/include/perf/event.h @@ -305,4 +305,11 @@ struct stat_round_event { __u64 time; }; +struct time_conv_event { + struct perf_event_header header; + __u64 time_shift; + __u64 time_mult; + __u64 time_zero; +}; + #endif /* __LIBPERF_EVENT_H */ diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index ec76412..d758485 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h @@ -337,13 +337,6 @@ enum { PERF_STAT_ROUND_TYPE__FINAL = 1, }; -struct time_conv_event { - struct perf_event_header header; - u64 time_shift; - u64 time_mult; - u64 time_zero; -}; - struct feature_event { struct perf_event_header header; u64 feat_id;