Message ID | 20221109094434.84046-1-wangwensheng4@huawei.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp244051wru; Wed, 9 Nov 2022 01:52:49 -0800 (PST) X-Google-Smtp-Source: AMsMyM7WVLMcvO9f8CBtRw7n0XqS7ficMei2gMCdQ+GcZDCCGkj2hBw5N3+97Xyb7oRas/Q6mLjs X-Received: by 2002:a17:902:e5c8:b0:187:3593:a841 with SMTP id u8-20020a170902e5c800b001873593a841mr45432058plf.150.1667987568698; Wed, 09 Nov 2022 01:52:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667987568; cv=none; d=google.com; s=arc-20160816; b=jfI0jOS7MOEww+LiW1uCzDNKMJnaAoirYwgmocDFFPiJIxPMh7rGtI+CMVyLGZKJkP diqem9o++14Wwx/IQrC+WnrSDntRRELTmeOqMLvCbNefI5DhuLpAsq98oTJ47Rt0lWC7 M7Mx3MNZ2l5Vx8SSd1xn7CvKGzFYD0UWaTUgmNzzlaybWjq9+OXoC4SQmYx8hEtQn7QB 9URdZ4Y0aSPojPBylvU1k7BoOILaaWBtC6eOD0/9J8wmICArOcrQ1igDcf1oIsce673Z 60Z8w0jNtz1hlZ0BZzWsJ3i9HEB+bjz4vnKOyoJe5UweA1Qdt3RqDQOEcH6Vx3Ea7czq ybyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=Aus6ugpG5k5P6BANeudqcUMyvr6hr7ISpwFdgszcq+g=; b=VlWImSPBNE4gqUmMgsDUFWeYWOEwQiU1IGbx6Pv/4OkfSdFNhePsRzOnV85kQSJYdN G/PKlf1BeG7DR1NBRd/RqrYsxLz0wMCgN/ZqXebwGrEAfWXtuxW8AZhJfp2H2UghfWGd KPErvIZs1neTz4fmihkCJ6c28zMo7iygvvUv/ziOLqEzFhoQ/F8kSrG74VI8FOdcOYoq B87bQUfFVk3GfHZ9ek7TpG9Ji6Qzz8/ktIGSanIiMCDmfCZQcrOc+PWWWsqNZ4Ovq1YL CPCwO/Is/It2y8L/o5tOslUWX052Zj9R+aQ04NgZSlSpHaWirq+HzBxkkwyoE4joAg2b pH0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s17-20020a17090ae69100b00213c9aa2974si932838pjy.54.2022.11.09.01.52.35; Wed, 09 Nov 2022 01:52:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229945AbiKIJqO (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Wed, 9 Nov 2022 04:46:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbiKIJqM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Nov 2022 04:46:12 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D8F122BE4 for <linux-kernel@vger.kernel.org>; Wed, 9 Nov 2022 01:46:11 -0800 (PST) Received: from kwepemi500015.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4N6g882vczzRp2M; Wed, 9 Nov 2022 17:46:00 +0800 (CST) Received: from huawei.com (10.175.112.208) by kwepemi500015.china.huawei.com (7.221.188.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 9 Nov 2022 17:46:08 +0800 From: Wang Wensheng <wangwensheng4@huawei.com> To: <linux-kernel@vger.kernel.org>, <rostedt@goodmis.org>, <mhiramat@kernel.org>, <mark.rutland@arm.com> CC: <xuqiang36@huawei.com>, <weiyongjun1@huawei.com>, <wangwensheng4@huawei.com> Subject: [PATCH -next 0/3] Optimize code for ftrace Date: Wed, 9 Nov 2022 09:44:31 +0000 Message-ID: <20221109094434.84046-1-wangwensheng4@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.112.208] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemi500015.china.huawei.com (7.221.188.92) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749011733309218799?= X-GMAIL-MSGID: =?utf-8?q?1749011733309218799?= |
Series | Optimize code for ftrace | |
Message
Wang Wensheng
Nov. 9, 2022, 9:44 a.m. UTC
Those are small optimizations discovered by code review. Wang Wensheng (3): ftrace: Fix the possible incorrect kernel message ftrace: Optimize the allocation for mcount entries ftrace: Delete unused variable ftrace_update_time kernel/trace/ftrace.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)