Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp152491pxa; Fri, 31 Jul 2020 08:34:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVOKypDOucfR+nGcZt8QHp04qj3FO4JRkTPhDh8nqkLswLccV7B63CMN/oQj0g0Wh/qziS X-Received: by 2002:a17:906:9385:: with SMTP id l5mr801295ejx.144.1596209655181; Fri, 31 Jul 2020 08:34:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596209655; cv=none; d=google.com; s=arc-20160816; b=j1nrWuhhlf4Wq6w4YSHL4jYyFa17Ek8WzHNAZ9SXIecY2JsFXkKO98/OoOVdL398wA 99qzbHdBgbGJHa9KZWsi+2f2HRW2ylXRo9VKpNw75HIXMD8GRs6uY4i7jIZDNJ0jDSJm Hw9Atqw2DXZuCMZOQriOsfD0LbwwHAsHXIbUANp1XdTiYLGHUmFbG8ms7VD2/GWZAihc BBVLoVry6DJAtHZq+py7z9olU76UBrFua/LiJsEAOwcP3aLYnv2piA3gi8RN8pJmQVKZ LhuIhSwWogVN4Js28aR2xDSIAeGOoHTXtu/nNlOl2S2BjqAeq+hYQz+1wQooTUu4O2Tp 0Kyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=fMmxXxNDnpC70leV0hp+A80vA+IYLqip87ah4Qv5stk=; b=CJe8IpSd1BnEw+JNl1OtlOtjJPRkqYq1pBUpsj8K7OzXK8Ehtit8uUVVYtWX3Ft7m2 lmfk+SheoaumIux/+xoy99Wo2URSSJ9hc1DYCQ+ZMEzf5z9X2NwDAyDOhxRBZe0yb1bM QT6xysqzPSkmT5oflfbfg68+/ZFqkLeZAMN2Zlb0SuRcxOVmXxwdLzrNVjd0DdA2E9kh h88UKqSGXnrcgophL6DbZdWcZHm5v1EjKVywdXx7Pwqq+BA1YQXwY27Ak8C2P5nv5aCj /gZr5T3BCMU/QhpcNb9pzPIELiTrvUxNf/DbaXtqxwMdSU7oeGx9IeoS+HEbRd4zeFlx wyXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g26si5438869edr.126.2020.07.31.08.33.52; Fri, 31 Jul 2020 08:34:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387466AbgGaPdi (ORCPT + 99 others); Fri, 31 Jul 2020 11:33:38 -0400 Received: from mga02.intel.com ([134.134.136.20]:4921 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726907AbgGaPdh (ORCPT ); Fri, 31 Jul 2020 11:33:37 -0400 IronPort-SDR: cHEKKO/EI8hStQxA1EeOqYnS5vI1WK9bMHQfepdFdDUEbjWgR+gmoV5Pl7wnG+QvKTF97YIy2g jM7iXzKfx1Ug== X-IronPort-AV: E=McAfee;i="6000,8403,9698"; a="139778113" X-IronPort-AV: E=Sophos;i="5.75,418,1589266800"; d="scan'208";a="139778113" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2020 08:33:37 -0700 IronPort-SDR: 2hslcI54DbfZjmPQl1pu1Esh1A8rzh6xr9es06Y4An/M8HNKWq8XKblHTgkdcuRGlzpErv6FWJ vt4ZKvpT35Xg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,418,1589266800"; d="scan'208";a="304966113" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by orsmga002.jf.intel.com with ESMTP; 31 Jul 2020 08:33:37 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 3A09B301C02; Fri, 31 Jul 2020 08:33:37 -0700 (PDT) Date: Fri, 31 Jul 2020 08:33:37 -0700 From: Andi Kleen To: Jiri Olsa Cc: Arnaldo Carvalho de Melo , lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Ian Rogers , David Ahern , =?iso-8859-1?Q?Genevi=E8ve?= Bastien , Wang Nan , Jeremie Galarneau Subject: Re: [PATCH 1/6] perf tools: Add clockid_name function Message-ID: <20200731153337.GB1299820@tassilo.jf.intel.com> References: <20200730213950.1503773-1-jolsa@kernel.org> <20200730213950.1503773-2-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200730213950.1503773-2-jolsa@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h > index f486fdd3a538..126dad238ee3 100644 > --- a/tools/perf/util/util.h > +++ b/tools/perf/util/util.h > @@ -62,4 +62,6 @@ char *perf_exe(char *buf, int len); > #endif > #endif > > +const char *clockid_name(clockid_t clk_id); If it's a generic "util" it probably shouldn't live in builtin-record.c -Andi