Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2484636yba; Mon, 6 May 2019 06:54:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrcN9ZPLCBqy+/CHJitXc4ReDr/hpauJEAFclgLZA59fXGVXLCqUkabZKj8d3P/z1ebXCk X-Received: by 2002:a63:e003:: with SMTP id e3mr32602549pgh.0.1557150859158; Mon, 06 May 2019 06:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557150859; cv=none; d=google.com; s=arc-20160816; b=ULJc2ed6YehsEuWXUxLU+H26UWTDNV4t3zLTLEv/Fn7LHL6q9+mTWDaj29NmzOdDyx bBFPcvOOLyrUA6B+H3a9nDl2GKX38hOrl18CSQbNBOA3OodiMWsOPRILQx9VFCA3pcvW kj8ezFMFKUP1DpQQ3uw/p0YYFnBQ1Rr69TpvOEnXk1ulRM0HgId/VdjTAmreEqKi4Vft xaLQIm3n2aOOGhJYE5sgCC1o+tDzWbXcPd9q7pkhAc2qgGDTOVGaDZxVMXM/zAH9e6Gi Unoh7ATmpVtHaOOT5jNaOjMXc+mSrbHt1kASMg8a1Vgp5jzC32HV6/zMGjuZ28oaKaF7 cOIw== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=z+cY/6zrFa4JLSM15g0CmYgw7iwR9JrI3kt1qC/arrg=; b=0GZv3CMDfrID/bZFBoAdToiwcMQDa4c0w3Mrgs/azChJ0iMGVJZsj+Va3R3YBi9O8S rV6zX8yTK4rdkZl9yJ5SxImc+78sG1jqTzepL90gpNu2KCWcBZ7BtYyuHuSEmfwqJn3s eojS/UfA5Z2I5r5jFMJ5XiPOhwqKhPWy63ZJI8srW3sdSdr16/IlTa6sYcwW5mWuHi4x IuG4rThbm/AxpMjGEF/0xelr4r3D4DLO9zpxPRSeL/jLwAfCzYNIAkc7l93TnCwJfdVf Uh09HfmTjKQ9n4gAsv9eqCJ76UaeeJwRC8+e29AgSun7OE4QDsT2O+Jxo77ZfK6FOrd+ ac4g== 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 x17si14862089pfm.18.2019.05.06.06.54.00; Mon, 06 May 2019 06:54:19 -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 S1726294AbfEFNwm (ORCPT + 99 others); Mon, 6 May 2019 09:52:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:56938 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725883AbfEFNwm (ORCPT ); Mon, 6 May 2019 09:52:42 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2B38A2054F; Mon, 6 May 2019 13:52:41 +0000 (UTC) Date: Mon, 6 May 2019 09:52:39 -0400 From: Steven Rostedt To: Peter Zijlstra Cc: Qais Yousef , Ingo Molnar , linux-kernel@vger.kernel.org, Pavankumar Kondeti , Sebastian Andrzej Siewior , Uwe Kleine-Konig Subject: Re: [PATCH 4/7] sched: Add sched_load_rq tracepoint Message-ID: <20190506095239.08577b3e@gandalf.local.home> In-Reply-To: <20190506090859.GK2606@hirez.programming.kicks-ass.net> References: <20190505115732.9844-1-qais.yousef@arm.com> <20190505115732.9844-5-qais.yousef@arm.com> <20190506090859.GK2606@hirez.programming.kicks-ass.net> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 6 May 2019 11:08:59 +0200 Peter Zijlstra wrote: > These functions really should be called trace_*() > > Also; I _really_ hate how fat they are. Why can't we do simple straight > forward things like: > > trace_pelt_cfq(cfq); > trace_pelt_rq(rq); > trace_pelt_se(se); > > And then have the thing attached to the event do the fat bits like > extract the path and whatnot. I'd like to avoid functions called "trace_*" that are not trace events. It's getting confusing when I see a "trace_*()" function and then go look for the corresponding TRACE_EVENT() just to find out that one does not exist. sched_trace_*() maybe? -- Steve