Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp1109939ybh; Sat, 3 Aug 2019 18:13:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqycK6cisCnRIGafpc/SDeOqquQB52d2eTwE1RpXSd5xWc8O3hHLcbhk8Xg3qJgtim2L5zjB X-Received: by 2002:a17:902:7782:: with SMTP id o2mr55025450pll.12.1564881208566; Sat, 03 Aug 2019 18:13:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564881208; cv=none; d=google.com; s=arc-20160816; b=EHX2maUolg1hLs9bZxK+0VjVff1+bf9FXrsC56OdIkt5tFhAO7QTA8GGKAjByqVmMJ OoqTmbNYuZvtm/vPU4i4pQJPgBSAlKpEJZXVUcMnjjxBcq5ztWWw8Okv7Qiqu0SKie3p TkopxXJ/WXG1XzOMJ+OHsbSstyuQmOUiXXoNRs/u13i7yndBLSk4rmQyevQ7TgNVO7UB UAc2625qRvbygt9kCg/5Xp0cnD5AhFpgxlWRAsWzQ4KFWsm/nlVImJlGB87bPkfMqlI7 MCBo51IiRRT6F2Ajg/tAHMuttfcMZOBKTC2QFiPKGz74OyiwisM4742oEPK66zzgDIoa 5JHA== 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=Ua0fVp1gPLomYwX1EGXsjHk/oz4d42CaDmOY5NX1A38=; b=q03iD+Pu0zIldi2T9P1OjlBZxsfzj929X5k3w939PYOq/x7sq5kKFE4QRuq5YTAJ7U zZRQzOWveIrkVfNIu/ToHr1F+K+o54fBdOx53i6x+p9lkhnhzYFXfUfo6qWFdwhyOxDa 3LeoweneFQdEELkWPLF+o9bP2RoCJzWJZiP0eG6RX9bxwxamhoLrdSXnQ5rGDsna5K3G vHU0r7wSvfRBuq0iXwYcpE6EWJu9BdADng9asQwbom7N0uLcuuS/sOoHHG4iW+YTMjpi cTMC8K3cbu0F2qP2pqzdWQkiLZRtDVmZ3Pw1IIVLQ9yNk2jnxkAXYcsxWtcdv/x6c4o1 7PvQ== 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 x9si43610977pfi.211.2019.08.03.18.13.13; Sat, 03 Aug 2019 18:13:28 -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 S2405888AbfHBRrP (ORCPT + 99 others); Fri, 2 Aug 2019 13:47:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:50976 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403848AbfHBRrP (ORCPT ); Fri, 2 Aug 2019 13:47:15 -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 5F97A217F5; Fri, 2 Aug 2019 17:47:14 +0000 (UTC) Date: Fri, 2 Aug 2019 13:47:12 -0400 From: Steven Rostedt To: Matt Helsley Cc: LKML , Ingo Molnar Subject: Re: [PATCH v4 0/8] recordmcount cleanups Message-ID: <20190802134712.2d8cc63f@gandalf.local.home> In-Reply-To: References: 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 Wed, 31 Jul 2019 11:24:08 -0700 Matt Helsley wrote: > recordmcount presents unnecessary challenges to reviewers: > > It pretends to wrap access to the ELF file in > uread/uwrite/ulseek functions which aren't related > the way you might think (i.e. not the way read, write, > and lseek are releated to each other). > > It uses setjmp/longjmp to handle errors (and success) > during processing of the object files. This makes it > hard to review what functions are doing, how globals > change over time, etc. > > There are some kernel style nits. > > This series addresses all of those by removing un-helper functions, > unused parameters, and rewriting the error/success handling to > better resemble regular kernel C code. > I applied these patches to my queue. I pushed them to my repo on branch ftrace/core git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git But note, that this branch will rebase, probably on top of v5.3-rc3 when it comes out. -- Steve