Message ID | 20221117012346.22647-1-shangxiaojing@huawei.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp157994wrr; Wed, 16 Nov 2022 17:30:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf6olDK0Vate3lzzKqkcFY+PNj0aXPbq5ex2xKBlXfPrz3G1jllPyFJ1IyMl1Gv5Q1VwvH1d X-Received: by 2002:aa7:d358:0:b0:467:6847:1ea7 with SMTP id m24-20020aa7d358000000b0046768471ea7mr281334edr.237.1668648654322; Wed, 16 Nov 2022 17:30:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668648654; cv=none; d=google.com; s=arc-20160816; b=U7cTMn5HqiCN5BmNk+sg4RZuug4gOv1WnKPE5oR1NBG4qLcAFABGWDeG90OyTlRP5I lrsNPTdeF+X8uHiwdMYb1SCsPrkmvQbv5PBqzlkF5rFPEDm9qlShkIaV+8N2p2pYGcvJ qJBBup2pwYwG9+c86tVcl64ngKAGplF3gShzWKVZoYn89c3hLHPBrp3CzWzOcsexHsQx SAK0HsM4mKmcs0N0NGgoptgTc61KE3DfBjnSGjasevrU3S9+36b/4Y4uuEFLHAl8+ftF mX/XSW4AzTINFZrhGusFXOuoUaGzBTHD3JU7UYNiLyvHdOOmzf4JnGK+ubqoEZKXIvVT qzAA== 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=erQ+A4nGz8Qr9nIHqcW6QeD4yFmy7l2H8DpmIGCqHDI=; b=HeNy1uT2cBOVVeP7Hk+AdOGdPcy5uSzxaxZTwA/3rb+KpOW+G0zB5Ct7U9Pkv/p24D +1lpnvUXH2rIefBjulz+Vzk8rgarXmIhya7FK/0RxrTjhTdpP2ew0DqjFCbUGwl0tbF8 a2pz+PsZykwrD9JVPKeEzd6a1u3KczekUxR9vuGb2qTFJsUPBriU3hO97X6pOqTfmLMH BOQiS9QdtLpmVMy3P9EursYASbkgXko3dKPpGOjPEeLCM/ZkpPtxCKJBwx56SQ/Mn8Bi Iqi/51DqVEiKpldX5kk67tC8ZlLxFIHWrDSthqKGeK5iBGsZs93Uv2IPkMZJneQo+cCZ 7eVg== 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 hr11-20020a1709073f8b00b007413b206b16si13158887ejc.843.2022.11.16.17.30.30; Wed, 16 Nov 2022 17:30:54 -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 S229703AbiKQBZa (ORCPT <rfc822;just.gull.subs@gmail.com> + 99 others); Wed, 16 Nov 2022 20:25:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233462AbiKQBZZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Nov 2022 20:25:25 -0500 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19CCB11836 for <linux-kernel@vger.kernel.org>; Wed, 16 Nov 2022 17:25:22 -0800 (PST) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4NCMb66LvtzJnpF; Thu, 17 Nov 2022 09:22:10 +0800 (CST) Received: from huawei.com (10.175.100.227) by kwepemi500016.china.huawei.com (7.221.188.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 17 Nov 2022 09:25:19 +0800 From: Shang XiaoJing <shangxiaojing@huawei.com> To: <rostedt@goodmis.org>, <mhiramat@kernel.org>, <zanussi@kernel.org>, <fengguang.wu@intel.com>, <linux-kernel@vger.kernel.org> CC: <shangxiaojing@huawei.com> Subject: [PATCH v3 0/2] tracing: Fix some bug about synth Date: Thu, 17 Nov 2022 09:23:44 +0800 Message-ID: <20221117012346.22647-1-shangxiaojing@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.100.227] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemi500016.china.huawei.com (7.221.188.220) 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?1749704930844433577?= X-GMAIL-MSGID: =?utf-8?q?1749704930844433577?= |
Series |
tracing: Fix some bug about synth
|
|
Message
Shang XiaoJing
Nov. 17, 2022, 1:23 a.m. UTC
Some bugs are found when insert synth_event_gen_test, and fixed by this patch set. Shang XiaoJing (2): tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event() tracing: Fix wild-memory-access in register_synth_event() --- changes in v2: - some clean up. - remove redundant code. changes in v3: - remove redundant code. --- kernel/trace/synth_event_gen_test.c | 16 ++++++---------- kernel/trace/trace_events_synth.c | 5 ++--- 2 files changed, 8 insertions(+), 13 deletions(-)
Comments
On Thu, 17 Nov 2022 09:23:44 +0800 Shang XiaoJing <shangxiaojing@huawei.com> wrote: > Some bugs are found when insert synth_event_gen_test, and fixed by this > patch set. > > Shang XiaoJing (2): > tracing: Fix memory leak in test_gen_synth_cmd() and > test_empty_synth_event() > tracing: Fix wild-memory-access in register_synth_event() > --- > changes in v2: > - some clean up. > - remove redundant code. > changes in v3: > - remove redundant code. > --- > kernel/trace/synth_event_gen_test.c | 16 ++++++---------- > kernel/trace/trace_events_synth.c | 5 ++--- > 2 files changed, 8 insertions(+), 13 deletions(-) > Queued. Thanks Shang! -- Steve