From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A46B241D9E; Tue, 28 Feb 2023 17:29:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80A1B40EE6; Tue, 28 Feb 2023 17:29:29 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2089.outbound.protection.outlook.com [40.107.212.89]) by mails.dpdk.org (Postfix) with ESMTP id A60074021F for ; Tue, 28 Feb 2023 17:29:28 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SH/DwgmnzvACEhf13eVvVkMmqc6T0y7z/g/+Rzxa6y4g01CEvYKktizvNcYgg7fMBabVgzY58OL0yn+nmzqm24MlGGh79+iG1DDvZoM+mHZpe9+PQpJug5AX879TGJG1CnikSRdIsXp5XEAVfevM5EBsmD20sGA/nsfE5l24JIvW/CHPY6H6mtrUF0oJVtq2cUQc4is/4Hk5jVih/nfhaAQy5hRPttheW575XqwJqg76nmpUBsuFvm6hJ3f/GMF6a00FCdZb0XgDpqlV2WKHp12JmZSryNxOrCIF1EnppudCiFgtHTrNh9JHMlmj+QjtjpN1x61zakY5enuS5h4/qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SRoErH9tpy1x36+NwzPvf41c18OgoIAgOp9BSBC8PfI=; b=QSXGWgcKdx3kF6aRuFtw0yRdwV+BaV+C+Db/IQ1CmUqLvAVn4FLlXgArB1/SrHvULuT6VSO1BgAFvsXx1xEDroVLUSHI82n812LbpD0ahskEFMo6FO6QvpPgug1rdHmMaUx6lQHX4QtzsPZsPFcGvtO4cKg7xfqSpGdV0aI+rZRO7Yu5xHvkASeOeLFvta5lUGr166QgG/L7ItfrhyKOVB45RThVomgfj7HCYQPoVpNhd6cvHwPQdakZKQ98hLSCvt4/OvLuvtmCfnrD3L5t4R1moseYIih+Zot0VkzlnKo/kTmNo3qvHTyBb8rrvbq3xaYLy/oy8QIuHut0PjBO0g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SRoErH9tpy1x36+NwzPvf41c18OgoIAgOp9BSBC8PfI=; b=Fgcn/SLZwdfx/r6SMlTMcdKhDxdNnA0A4S78+5IG9ciOBIRT4fTucDpb0dw7RB8VoBMQkkiE3sZMIfpqUCRRAuh/1Uw6qG0pfgr029JeurBXs1MsHiM/AamuRoxPzYYuzfLVEO8fxrjFgPLQh5h4eWAtrHQy9pmggjFEhyTKPpk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN2PR12MB4301.namprd12.prod.outlook.com (2603:10b6:208:1d4::22) by BY5PR12MB4115.namprd12.prod.outlook.com (2603:10b6:a03:20f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Tue, 28 Feb 2023 16:29:26 +0000 Received: from MN2PR12MB4301.namprd12.prod.outlook.com ([fe80::80ae:e5ed:4fa7:2ad7]) by MN2PR12MB4301.namprd12.prod.outlook.com ([fe80::80ae:e5ed:4fa7:2ad7%9]) with mapi id 15.20.6134.030; Tue, 28 Feb 2023 16:29:26 +0000 Message-ID: Date: Tue, 28 Feb 2023 16:29:20 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v1] ethdev: remove bitfields from trace Content-Language: en-US To: Ankur Dwivedi , Thomas Monjalon Cc: alialnu@nvidia.com, jerinj@marvell.com, dev@dpdk.org, David Marchand References: <20230228155516.2403535-1-adwivedi@marvell.com> From: Ferruh Yigit In-Reply-To: <20230228155516.2403535-1-adwivedi@marvell.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0498.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1ab::17) To MN2PR12MB4301.namprd12.prod.outlook.com (2603:10b6:208:1d4::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR12MB4301:EE_|BY5PR12MB4115:EE_ X-MS-Office365-Filtering-Correlation-Id: 474d2269-83c3-4b8d-ba23-08db19a8f538 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CWn3PQgpwB9Q1ocHeP3gR2VSrdvv76a3VvEKiCMWZpKLNV3BcKKas++S915H4+Agy8vB0y/Ys49tBwaf1RiRRNRflsabuYiOV0TEQ3ejKbFSCdchfmPcv3Z31oit5g9y9tHYAlYT7iO5P6uXW2u41rj3yt+ZjCg88i5QPmqWQrdxUI1nxA3O4NKGAxQlqhmGPgRUej3WelJEIhFj6fMX3x341gV/tnrJyjGRGmRIeI1v4Vd9knEvoKJLz2omLoksua792pqIbjJxJRiHzRSeai63+B1YR0c32Rz233SwTkd3pyF1vxxYfAtOgocWn3s1c9n8WBSEswutcvOCQsvU1xIcbHwkC+OvNpfoNWfdFiQnUvedNRx/nUXwFldB/KsmddPgnorThplKJ28z1B4sxL3BXyIoBUigorkb0t78Z/yu7c2E3JtUtfc602U5nESlcmI8DkEKC6+fFkBXotEDw33wC4R/lnD7yuXwzFoNfjCSga6Ln/hao40N7Xr16+PDXTlHpYTe4sUejWnv5zUA/CiAlCOPdrbie3AmmsFWUplK33D4EZKgdQjwCeXzM7UoRvxV4ORY5NBjow/5VdoY/kiW89vTIf+qGVbtlcN9WZ0dXFi4VpT7UDxwVVqOfC8/ckps9MtfraeUdWkdgNAcLgs2H1RuZZoqmcSPNRKuTHafaTPTuIX8PLsZxzg62xGTZoKiHiGmrvzbPuJ4iMpjnJGHnMlQtmGGhQ9CoZrMnn8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB4301.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(39860400002)(376002)(136003)(346002)(366004)(396003)(451199018)(31686004)(36756003)(86362001)(31696002)(66946007)(66556008)(66476007)(8676002)(5660300002)(4326008)(41300700001)(8936002)(2906002)(44832011)(4744005)(38100700002)(6666004)(6486002)(478600001)(316002)(110136005)(26005)(2616005)(186003)(53546011)(6506007)(6512007)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?R21BMDlLQjl1MG9ibHlJMGdiNjVtdDZrc2hCSWg5SmgyeE0weGhhQVl4TGg0?= =?utf-8?B?NCtkdDlUSitLdXFZZGRGLzNGcVZvcnRoa3J3MHYyTmNqT3h4K1kvNW5tVElU?= =?utf-8?B?aVhtak9DcVRnWXVLWXdub0VCQTZRVXpmVkNxUk52d0NkTi9JMG5UamMyVEE3?= =?utf-8?B?eXFHZkVNcnBIUk9yQUlZYWhnTXJwTUFWSFFZV2N1cGdTR3ZlMmxlMW9FSVlM?= =?utf-8?B?V2h3VGxVZi9DLzNyckZoUUxIcmxiazBqYmhKZytRMnQrSlFGZjI0Vnd0M3pz?= =?utf-8?B?NjhnSlhuOUxhVkNQRkl6TU1TNEFlV2JwdWE2U21MSlBGdmJIU2ZtdENnSUs2?= =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X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 474d2269-83c3-4b8d-ba23-08db19a8f538 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4301.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 16:29:26.3967 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vuirsnbi6WB8003X7QUv6UM3vUYe9QaOwnly1FOmxqAWY2zxpmQYEW9f50Fj4F1t X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4115 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 2/28/2023 3:55 PM, Ankur Dwivedi wrote: > To capture bitfield variables in trace, the pointer to the structure > containing the bitfields was referenced. But during trace point > registration the pointer contains invalid address. Referencing this > invalid address causes segmentation fault. > > This patch removes the capture of bitfield variables in trace. > > Bugzilla ID: 1167 > Fixes: 6679cf21d608 ("ethdev: add trace points") > Fixes: ed04fd4072e9 ("ethdev: add trace points for flow") > > Signed-off-by: Ankur Dwivedi Reviewed-by: Ferruh Yigit @Thomas, do you want to get this fix to main repo, since it cause crash and getting from next-net can increase merge time.