Message ID | 20221113070920.26236-1-shangxiaojing@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 l7csp1577462wru; Sat, 12 Nov 2022 23:17:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf7n6ZkgCcZvO6w97o59nMlNXLtckw51Fez1SM9MEKz64bFe3dEIC5eeWrO8Q+bYThhegPp7 X-Received: by 2002:a17:906:280c:b0:7ad:88f8:761f with SMTP id r12-20020a170906280c00b007ad88f8761fmr6560570ejc.417.1668323856216; Sat, 12 Nov 2022 23:17:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668323856; cv=none; d=google.com; s=arc-20160816; b=UZXP9lJmqu9E66Wy6hk1dRcfabqmEfqzA/8EnIFeznFePTzIkcIVbxztdctQJM0m9j I30/SJ2bMMz3hRuub1sJ0Aj7nHVzkP4er2uQaK8XVsg7GTc21WwNx7M9Fx1JBt7UMxOl GMYjRwJ5w14etUFgbyg+KQfwJwBodIYi+k1QKj01Ry3aKzrVprtH0JrDOAdtyu+vwkiq fRo9FmAUWOcFdJpJqs+T7aJXZFUwDYK3e1ddzLPlfBTdMyCnFFmIwngezC1gDfuClfN2 F7WikB5s9dpOn8+FSI/gHnzrpKaaTzvSeTqj1XEaRHyw+kXGWd0KU/l56TBL8z8xg6ZV NVOw== 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=O/OWN3FHlMLx+Yc8uhN1EsB5VbgePXXMsBhjWFzeYOc=; b=P4xjzww6yno2ki5H6Q6s8dzcw0DGmzdFFvka10/d/wyqkKH2lfTr62cle8XTRRXAVb vCYrWZ4I9j/GQOaI6qm2ZAs2HaIZnEAFvCMHIINRAWmMzexPHCcjNqdYCJRwppyVuB4W xMhUwXywjSBUjof2TjKzxlRBLH7WmiU978SbushNFJGS5G/eUQp49J2VTJd8FJszG9we /N4uN9tOQSeqH+YfmRiH43UAtHe4LcpZLBC4awD8cH75E3QmdE62UdygYjAarIIQreHC TE1+IRGyWCWBuqpYTCZt/EixL73+FSNRQRVAsiwBArvQlneQ7k0YxVE/v1jMo9sAWIt8 jUXA== 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 cr17-20020a170906d55100b0078b41dcf4b8si6610098ejc.479.2022.11.12.23.17.12; Sat, 12 Nov 2022 23:17:36 -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 S235153AbiKMHK7 (ORCPT <rfc822;winker.wchi@gmail.com> + 99 others); Sun, 13 Nov 2022 02:10:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233068AbiKMHKx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 13 Nov 2022 02:10:53 -0500 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1805FD2D2 for <linux-kernel@vger.kernel.org>; Sat, 12 Nov 2022 23:10:50 -0800 (PST) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4N93Vt0KT9z15Lxh; Sun, 13 Nov 2022 15:10:30 +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; Sun, 13 Nov 2022 15:10:46 +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 v2 0/2] tracing: Fix some bug about synth Date: Sun, 13 Nov 2022 15:09:18 +0800 Message-ID: <20221113070920.26236-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: dggems706-chm.china.huawei.com (10.3.19.183) 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?1749364355874334891?= X-GMAIL-MSGID: =?utf-8?q?1749364355874334891?= |
Series |
tracing: Fix some bug about synth
|
|
Message
Shang XiaoJing
Nov. 13, 2022, 7:09 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. --- kernel/trace/synth_event_gen_test.c | 16 ++++++---------- kernel/trace/trace_events_synth.c | 3 ++- 2 files changed, 8 insertions(+), 11 deletions(-)