Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2715738ybi; Mon, 17 Jun 2019 09:24:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqy39N3Hq5nkTRjOoDgWakDeKkxZBhFc/hwKjwRRETVywNDh8R7BpSCHStBF5t9OY7bRsE44 X-Received: by 2002:aa7:8212:: with SMTP id k18mr65361415pfi.246.1560788684322; Mon, 17 Jun 2019 09:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560788684; cv=none; d=google.com; s=arc-20160816; b=phpm94sxLDDXDMfKnfRLrUaFNBH+uNssi4+8gmCtPXGFPp7yH36OjqSN+8rEI3OkQ3 PWevDrcL65XA7vP5MXVQuJ0HR3LQY5Dg3PvRuHjKXJQejLHWWeAcv+JyxmTISVuF5s3o 7fiQfq0KQLHxUmnMu42pKZXcvfr+/QOVhxebA9smIzlURTw3LJVmfPwAHnDjs8vZpyqG tG2BYu24dxpcge+Jbn2Ezxd6qUxkSQG4qZ4uSWeJ5dH0my4YKor1mTirwRo72XXZQooH aiTsNvPGuk4EusvrBRMlVMybrQU3U+jKb5K8dH/E34P/Ic/tlbAlz5oLVK16+A9xoxW5 afvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=qWFErkvw15NKDGKXZS6UUrBGxXh2r0pDrgATD+O36c8=; b=WCjmAay5mM9N9d3FAMS+3gEysWE3/5ZadJ0HX92S4s+OUt83/CEWTDcbvTpg1BLM+b d3dXfnCclJkBnN2PnKCuF5aKoRIf3NmO7+xNsdhDfjXNxhPrLyZYcXzZFfxqo8GCxnMl 5mNQ5H37BLztC/bBKi3gwvk0FRAMOMi1P0ze4e9Cu2DKQx/0zc+L2Qbn0jgx7x6kAwLP vnQqtZi9Z3sRZWNH+/urxO97nBZDLLx2Fs2QGDMh8Zb+91bv+/5zGYEfsT922u6J5NFX gvSUngc4GuDRNxeXqibnOKkacpsaaioqTrm2BLj2j1RrqujfyL2cFvtuEmoa07eJ/s0i Tc0w== 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 64si10383127plw.37.2019.06.17.09.24.28; Mon, 17 Jun 2019 09:24:44 -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 S1728254AbfFQQWs (ORCPT + 99 others); Mon, 17 Jun 2019 12:22:48 -0400 Received: from foss.arm.com ([217.140.110.172]:55474 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725863AbfFQQWr (ORCPT ); Mon, 17 Jun 2019 12:22:47 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 239F928; Mon, 17 Jun 2019 09:22:47 -0700 (PDT) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.195.51]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DD4E33F718; Mon, 17 Jun 2019 09:22:45 -0700 (PDT) Date: Mon, 17 Jun 2019 17:22:43 +0100 From: Qais Yousef To: Peter Zijlstra Cc: Ingo Molnar , Steven Rostedt , linux-kernel@vger.kernel.org, Pavankumar Kondeti , Sebastian Andrzej Siewior , Uwe Kleine-Konig , Dietmar Eggemann , Quentin Perret Subject: Re: [PATCH v3 0/6] sched: Add new tracepoints required for EAS testing Message-ID: <20190617162243.4gfzi7bpwbecv4xz@e107158-lin.cambridge.arm.com> References: <20190604111459.2862-1-qais.yousef@arm.com> <20190617125122.ph4wb7mcvfjwpdce@e107158-lin.cambridge.arm.com> <20190617155549.GI3436@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190617155549.GI3436@hirez.programming.kicks-ass.net> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/17/19 17:55, Peter Zijlstra wrote: > On Mon, Jun 17, 2019 at 01:51:23PM +0100, Qais Yousef wrote: > > Hi Peter > > > > On 06/04/19 12:14, Qais Yousef wrote: > > > Changes in v3: > > > - Split pelt_rq TP into pelt_cfs, pelt_rq, pelt_dl and pelt_irq > > > - Replace the fatty preprocessing wrappers with exported helper > > > functions to access data in unexported structures. > > > - Remove the now unnecessary headers that were introduced in the > > > previous versions. > > > - Postfix the tracepoints with '_tp' to make them standout more in the > > > code as bare tracepoints with no events associated. > > > - Updated the example module in [2] > > > - It demonstrates now how to convert the tracepoints into trace > > > events that extend the sched events subsystem in tracefs. > > > > Does this look okay now? If you have further comments please let me know so > > I can address them in time in hope it'd make it to the next merge window. > > Picked them up (with some minor edits). I feel there is far too much Thanks! > #ifdef in patch #2, but I couldn't quickly come up with anything much > saner either. We can protect the whole lot with #ifdef CONFIG_SMP? It means the external module will fail to compile for UP configurations - which is fine I think since we're just returning NULL anyway.. -- Qais Yousef