Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3152708rwb; Tue, 8 Nov 2022 00:54:38 -0800 (PST) X-Google-Smtp-Source: AMsMyM51dOGIFB3RijeZKJmqDgA0N9cjsREDSW86m6nVcZuZZe0hgX91OtUcarSIfKExHbZ7cOXj X-Received: by 2002:a17:907:8a1c:b0:7ae:1e64:aa5 with SMTP id sc28-20020a1709078a1c00b007ae1e640aa5mr25247175ejc.119.1667897678128; Tue, 08 Nov 2022 00:54:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667897678; cv=none; d=google.com; s=arc-20160816; b=KlzPRZ1TzMMPTNWHV2d+ejqLDR00WqLRnP1XiPGFpb1ZbmZs4DeBksgtbjn8EDOzQo TjosO/cDliOK3qfBrLV6lDVowiLPn3gcio6GQ6SWX3ikbt6/iPRjREJtgqvIfklJ4IqA XyFxS9pYa/bHyT0DfXcbN0Zs/0eEYrdPMNIbCOZCNsFBIi2Gx9sKkPwfDPgnCfmcHpga Gak0PJGRozUdlb299VZeg9zSRCcYHFl7Ll+m//H2dYbvYW+1zqoFtL7pDFNyhvNQKGk9 KRk72G+AyyjyxJKVEXymPEXJdcau/M9xbwbmNAt00vTzFmdceq3o4v+Vj5SdJCUgS7Qr zpPQ== 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=DvHi9ZfFbwYE44LI+9VBXfdbEXmAuK9AE7yvCJM5K/g=; b=x6JRm5ZWMf0cmxqjRjj0TiLbg5osFP1ElZb9rKmmhTHue4XQ4LDd3HD+Ea3UnqD1ws gDteHqwBgd24vfDCmBraS2QyoYgqDR/WrxJGC+DU2wjE7lOvswdRyHXj9THM0oF5Wam9 HJDilag7ZpSLVwfctkqazZdcb4sAwJdqcn0K8L0BydtAqxMKcpUveEvH1UEaw8+9tuE2 Th1naD2Tlj42YH9Jo2meV9GFxrInepQiQ4xcanCZSmKLeWeJTfn9D0Tx3sQlSWhtDWHg q6GwRseuJXZ93an5gJxjg1Og49weXy4AuOmddAEBQR2vYpflTPYAPZV1h/37mDoYfPzL KeDw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw9-20020a170906c78900b0078b96722000si8670208ejb.608.2022.11.08.00.54.16; Tue, 08 Nov 2022 00:54:38 -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 S233513AbiKHIcr (ORCPT + 90 others); Tue, 8 Nov 2022 03:32:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232901AbiKHIcp (ORCPT ); Tue, 8 Nov 2022 03:32:45 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D489A2791E for ; Tue, 8 Nov 2022 00:32:44 -0800 (PST) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4N61Yb0HMTzHvjS; Tue, 8 Nov 2022 16:32:19 +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; Tue, 8 Nov 2022 16:32:42 +0800 From: Shang XiaoJing To: , , , , CC: Subject: [PATCH 0/2] tracing: Fix some bug about synth Date: Tue, 8 Nov 2022 16:31:21 +0800 Message-ID: <20221108083124.27218-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: dggems703-chm.china.huawei.com (10.3.19.180) 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: X-Mailing-List: linux-kernel@vger.kernel.org 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() kernel/trace/synth_event_gen_test.c | 2 ++ kernel/trace/trace_events_synth.c | 2 ++ 2 files changed, 4 insertions(+) -- 2.17.1