Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2688057ybi; Mon, 17 Jun 2019 08:58:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxiIBphqMYIWvnRQ9FtpaIsxj59G7tRUrqTu6+aQX5sxS6qEdI9Du3E9vv0E1L083O199Ad X-Received: by 2002:a62:1bd1:: with SMTP id b200mr89124010pfb.210.1560787082905; Mon, 17 Jun 2019 08:58:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560787082; cv=none; d=google.com; s=arc-20160816; b=aplR7YFonp43lwg0lFYxGHVfEaVlQorxraUvmQCIpxqAXI97aiw1jVNLSacIH8l9iv SEsRrl5TkFjSNrqo+Hn/UViod8LjCNla1GA5b5AV7feSyomo7gtXyS87Q3Ol4lneYd9t RbVlT7UmoMoq1ptIzXK6ItOxA+iUquJWim/TZNE9z20bio3To58b9YZczeHqTQuzouEe 0/uOUanW6bLKg5iZkCo2olRBP+BCnOivoJ9GT49DlTCRCjXPozHPdtsUexjsxAqnoEUc 7a4LjWP2JJVLKXZ/pUG4G5L8EQnktzWvjPx0LMUe7xVYFtzTkFx8Y5o4+WuoE4t54Mpc 9XmQ== 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:dkim-signature; bh=mT2eF7yoMpbGbB1KKfo7CynIiGbmHbqUlQcCS6ws1RI=; b=LM7Co0S/r9Ehp5bIIBqSzEhpwshgnVLUkQUctDIaQ1N3wrQZH0NDTH/KFZfaaBj5r5 rmzd1DO+iUSK7BUJZxtwUg/9oXccfqkSRtMWymjXfT6qo+VEerv1EW3tgWuoXm6rfSJF BsegBTtf+XE2V1sS6ctfYmcaQUBtvupftRiO9zIH8kFH2LWS/UDmD1SDoRPqy44fhONA ouA3Efyjf9mqpXn0QuPkHoovXBZ0m8xPZQNdVQOujfSupyTVKytklQ6VtWp63NKTLHV1 XcShzfWAyhwib6vEJ6uiVW4U167AqplO+GOFFA5/fZt8XdWo1isTh4mvEWYZ1PT+ePwG xyAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=NCFa6377; 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 b26si10998366pgm.318.2019.06.17.08.57.47; Mon, 17 Jun 2019 08:58: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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=NCFa6377; 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 S1728566AbfFQP4K (ORCPT + 99 others); Mon, 17 Jun 2019 11:56:10 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:43942 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727999AbfFQP4J (ORCPT ); Mon, 17 Jun 2019 11:56:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mT2eF7yoMpbGbB1KKfo7CynIiGbmHbqUlQcCS6ws1RI=; b=NCFa6377EW/qugBywRCoVBAfQ acgqut1lgAn+r20nUaLx8v5nuBaRoU6EeGM57Vfib2XU13lJhC+hJQWen9owL3HLDmdcmDquMyhYM pfB81ZS0drLIcTXzoA6B3wKg+8oYrNeAyLxDW94U3pGeIVt6kbJ74OL1VzIAa4oaNeWZvf+T2o77X 43iCd+avZVLjZa0ZnycHYYM5oWIyagSAOB40K4eJoEyBUKmgp22P2i7TuY2moH9kxg6RDw7eaqM/I XDih3DZ3l6OESu3Ic/pcTvFnoXb5uYM+JUzcDU1YOvI3DuuWqIX1vfD+KCC9S8ei4046MBP6lL8fS rSe51LmcQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hctz5-0001gi-8N; Mon, 17 Jun 2019 15:55:51 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id B9B7E201F4619; Mon, 17 Jun 2019 17:55:49 +0200 (CEST) Date: Mon, 17 Jun 2019 17:55:49 +0200 From: Peter Zijlstra To: Qais Yousef 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: <20190617155549.GI3436@hirez.programming.kicks-ass.net> References: <20190604111459.2862-1-qais.yousef@arm.com> <20190617125122.ph4wb7mcvfjwpdce@e107158-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190617125122.ph4wb7mcvfjwpdce@e107158-lin.cambridge.arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 #ifdef in patch #2, but I couldn't quickly come up with anything much saner either.