From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B6B0C4363A for ; Thu, 29 Oct 2020 14:12:05 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C65BF2076B for ; Thu, 29 Oct 2020 14:12:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="weZOjyYt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C65BF2076B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9rRoOLm4Y2L19AmNbyqEl5dZg5oj4Bdlkyi3p8RcwuI=; b=weZOjyYtISg+DnZ0ZZRKHgwNS N/awZcPfDXa4Wyn00Kuq7whpK1w6OnganPCl8PoZqRe8beW9XSoTXzV1ALr/y5vGiDf30r9i6stUC qWdUBMcLDhjtRf8LrJOV6Fe+c9iL9JeYu0A7UblLBtnJmlDP8pjhEaQYu5nr3QIup6W5qqKhlCV1H QgLoZP1B3ipDADv8CZfVAX6nKIk27I1L7Vv7F/uj7HLiW3I/zgLW8nrcYz6qM22ae8slly1+C4OeG 1apWIOS6jNUKvgoaUjpMc+7HafUZiTf/EAWHCRlNg71DBMB+bBq6J20s3ri6KOEM3l56g+uVc5hvJ 4nKmunLBA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY8dT-0004tb-MS; Thu, 29 Oct 2020 14:10:39 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY8dQ-0004sk-Ee for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2020 14:10:37 +0000 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 638CE2076B; Thu, 29 Oct 2020 14:10:34 +0000 (UTC) Date: Thu, 29 Oct 2020 10:10:32 -0400 From: Steven Rostedt To: Peter Zijlstra Subject: Re: [PATCH v2] arm64: implement support for static call trampolines Message-ID: <20201029101032.375d5b5d@gandalf.local.home> In-Reply-To: <20201029114457.GL2628@hirez.programming.kicks-ass.net> References: <20201028184114.6834-1-ardb@kernel.org> <20201029112747.GA4090840@google.com> <20201029114457.GL2628@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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201029_101036_612805_BF90C2BF X-CRM114-Status: GOOD ( 14.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Quentin Perret , Catalin Marinas , James Morse , Will Deacon , Ard Biesheuvel , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 29 Oct 2020 12:44:57 +0100 Peter Zijlstra wrote: > IIRC Steve had benchmarks for the ftrace conversion, which is now > upstream, so that should be simple enough to run. > > Steve, remember how to get numbers out of that? IIRC, all I did was, before and after the patches run: # trace-cmd start -e all (which is equivalent to "echo 1 > /sys/kernel/tracing/events/enable") and do: # perf stat -r 10 -a ./hackbench 50 Basically running perf stat on hackbench with all events being traced. As the tracing does indirect jumps without Peter's patches and direct jumps with the static calls, it gave me a good idea on how much it changed, as hackbench triggers a lot of trace events when tracing is enabled. Note, the number of events can change depending on the config. There's a a few config options that could really stress it (like enabling preempt enabled/disable tracepoints). -- Steve _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel