Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1683792imm; Sat, 6 Oct 2018 08:17:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV62QH9VRJ3PpztnCCRIrH2HuGQS00p0nBvKMGMiVWs0CXi1P/Mqtfe4E9vxopLBMJBMa7i2t X-Received: by 2002:a17:902:da4:: with SMTP id 33-v6mr16138641plv.172.1538839048182; Sat, 06 Oct 2018 08:17:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538839048; cv=none; d=google.com; s=arc-20160816; b=ntR2hIz2Or6paiVx5kwD/tQRW2MGRjm53cU5Z/z+HifHQzkoDzZlpB8LOi6nlH+kZP I8I8BHspqMyHe3qOGTCOgOIhciUm4MMz9PEjRNy80Pl1TJAdkK32/x1fsBU9HkASvyCH 3cImDsn7Y4/81pRaO4mS/ePpSmRNaTgMB/DyxOQFuEr+wkZurMCfWJV9e32yhKOapcJO 8ZK6WquOCclfE/6MYj6wOTqgV5TLCJVd9GpucX/RLOMyiAJIuQSe2CooGKWT21zfTDsI d2I76RW2E0sZo/hAJAiM5qHkgjP/fWwYBTi+ZZzMnGIWOx6N3tZ2HOh6khLaolYvOq9S XA9w== 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=BAjMh95ZqpYpmaEDNpvAJpEGJAKoWLMOLqdYFdnLFqc=; b=NchIVet05oEmHJke9QEPVqF3VQXe6+/kCd8mJjzmDEdn0PKpl4PzgfGpB4xuoUDmoO LDoMXSamrv1dtLsXWyDoRkcbhBHn0/hWQY3gqLafMcoMWO/FNPLmHVWbEWXSNNAwj9VT JayoALYwESY7zWrjwJDMH7KyujOAJB6iquSzyxS63ZJ1Ti902z7POA37rgWzFgnbrN0K KD7xgH8fb+Qmlc/UAyXdC06LsPIM8ZC2l3/GgfH3on1vuphRAIuMwCD5mPpN7XaLChQg 3rmInpXrNTAnPx3fDvZ+MtLZC0dg6+UQE0tOcC5g5aV+UdNpuPIDIExjOXpD4ZSpU1Ej Irbg== 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 k20-v6si11333523pgb.115.2018.10.06.08.17.12; Sat, 06 Oct 2018 08:17: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 S1727784AbeJFWUg convert rfc822-to-8bit (ORCPT + 99 others); Sat, 6 Oct 2018 18:20:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:55076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727202AbeJFWUf (ORCPT ); Sat, 6 Oct 2018 18:20:35 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (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 B0FDB21473; Sat, 6 Oct 2018 15:16:52 +0000 (UTC) Date: Sat, 6 Oct 2018 11:16:51 -0400 From: Steven Rostedt To: Andy Lutomirski Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, Linus Torvalds , Ingo Molnar , Andrew Morton , Thomas Gleixner , Masami Hiramatsu , Mathieu Desnoyers , Matthew Helsley , "Rafael J . Wysocki" , David Woodhouse , Paolo Bonzini , Josh Poimboeuf , Jason Baron , Jiri Kosina , ard.biesheuvel@linaro.org, Andy Lutomirski Subject: Re: [POC][RFC][PATCH 1/2] jump_function: Addition of new feature "jump_function" Message-ID: <20181006111651.0b010935@gandalf.local.home> In-Reply-To: <1AF87411-7E98-4FD7-B3D8-F4C6423F24AE@amacapital.net> References: <20181006015110.653946300@goodmis.org> <20181006015720.634688468@goodmis.org> <20181006121211.GA5663@hirez.programming.kicks-ass.net> <20181006093905.46276505@vmware.local.home> <1AF87411-7E98-4FD7-B3D8-F4C6423F24AE@amacapital.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 6 Oct 2018 08:13:18 -0700 Andy Lutomirski wrote: > > Perhaps a gcc plugin might work too. > > > > My suggestion was to have objtool do the dirty work. Josh said something suspiciously like “sounds fun” on IRC :) > objtool does basically the same thing as recordmcount does. Josh and I have both said that it's on our todo list to combine the two and make it more generic for operations like this. Seems like now's the time to do it. -- Steve