From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 845601B5C1 for ; Fri, 26 Apr 2019 12:54:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Apr 2019 03:54:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,397,1549958400"; d="scan'208,217";a="134581512" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga007.jf.intel.com with ESMTP; 26 Apr 2019 03:54:35 -0700 Received: from bgsmsx155.gar.corp.intel.com (10.224.48.102) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 26 Apr 2019 03:54:34 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.225]) by BGSMSX155.gar.corp.intel.com ([169.254.12.162]) with mapi id 14.03.0415.000; Fri, 26 Apr 2019 16:24:31 +0530 From: "Varghese, Vipin" To: Suanming.Mou , "Pattan, Reshma" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] app/pdump: exits once primary app exited Thread-Index: AQHU+3PvpK4/OfOwwkSH+YBzP/84WqZNBN0ggACmdQCAAJf/wA== Date: Fri, 26 Apr 2019 10:54:31 +0000 Message-ID: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D33E2C8@BGSMSX101.gar.corp.intel.com> References: <1556210141-43153-1-git-send-email-mousuanming@huawei.com> <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D33DEB0@BGSMSX101.gar.corp.intel.com> <25e85f37-231e-d303-8d7a-e3addd6534d5@huawei.com> In-Reply-To: <25e85f37-231e-d303-8d7a-e3addd6534d5@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDk2NzI1ZTQtNTU3MC00MjBiLTlmZmItYmJkNDU5NmYyMWI2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieUw3STM5SjBtejNWU3FZNlN3OGZMQml6YjZwVGVVWWpBQ2poYXhqWERTbFEzNEhhckpnUEMzcHdkZVJwb21JSiJ9 dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.223.10.10] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] app/pdump: exits once primary app exited X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Apr 2019 10:54:37 -0000 SGksDQoNCkxvb2tzIGxpa2Ugc29tZXRoaW5nIGluIGVtYWlsIGZvcm1hdCBzZXR0aW5nIGlzIGFm ZmVjdGluZyB0aGUgc3R5bGUuIFBsZWFzZSBmaW5kIG15IHJlcGxpZXMgYmVsb3cNCnNuaXBwZWQN Cg0KDQoNCkFzIHBlciB0aGUgY3VycmVudCBzdWdnZXN0ZWQgY29kZSBmbG93IGNoZWNrIGlzIGFk ZGVkIHRvIHdoaWxlIGxvb3AgaW4gZnVuY3Rpb24gYGR1bXBfcGFja2V0cycuD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G11bHRpcGxlX2NvcmVf Y2FwdHVyZTsNCg0KDQoNCiAvKio8IGRpc3BsYXkgdXNhZ2UgKi8NCg0KQEAgLTg2OCw2ICs4Njgs NyBAQCBzdHJ1Y3QgcGFyc2VfdmFsIHsNCg0KIGR1bXBfcGFja2V0cyh2b2lkKQ0KDQogew0KDQog ICAgICAgaW50IGk7DQoNCisgICAgICB1aW50NjRfdCBzdGFydCwgZW5kOw0KDQogICAgICAgdWlu dDMyX3QgbGNvcmVfaWQgPSAwOw0KDQoNCg0KICAgICAgIGlmICghbXVsdGlwbGVfY29yZV9jYXB0 dXJlKSB7DQoNCkBAIC04ODAsMTAgKzg4MSwyMCBAQCBzdHJ1Y3QgcGFyc2VfdmFsIHsNCg0KICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgcGR1bXBfdFtpXS5kZXZpY2VfaWQsDQoNCiAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIHBkdW1wX3RbaV0ucXVldWUpOw0KDQoNCg0KLSAgICAg ICAgICAgICAgd2hpbGUgKCFxdWl0X3NpZ25hbCkgew0KDQorICAgICAgICAgICAgICAvKiBtYWtl IGl0IGhvdCAqLw0KDQorICAgICAgICAgICAgICBydGVfZWFsX3ByaW1hcnlfcHJvY19hbGl2ZShO VUxMKTsNCg0KKyAgICAgICAgICAgICAgcnRlX2VhbF9wcmltYXJ5X3Byb2NfYWxpdmUoTlVMTCkN Cg0KKw0KDQorICAgICAgICAgICAgICBzdGFydCA9IHJ0ZV9yZHRzYygpOw0KDQorICAgICAgICAg ICAgICB3aGlsZSAocXVpdF9zaWduYWwgPCA1MDAwMCkgew0KDQorICAgICAgICAgICAgICAgICAg ICAgLyogSnVzdCB0ZXN0aW5nIHdpdGggYW5kIHcvbyB0aGUgJ2lmJyBsaW5lIGJlbG93ICovDQoN CisgICAgICAgICAgICAgICAgICAgICBpZiAocnRlX2VhbF9wcmltYXJ5X3Byb2NfYWxpdmUoTlVM TCkpDQoNCisgICAgICAgICAgICAgICAg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EsIDAuNSwgMS4wLCA1LjDigJkuIFRoZSB0aW1lciBjYWxsYmFjayBj YW4gcnVuIG9uIG1hc3RlciBjb3JlIHdoaWNoIHNldHMg4oCYcXVpdF9zaWduYWzigJkgb25jZSBw cmltYXJ5IGlzIG5vIGxvbmdlciBhbGl2ZS4gSW4gY2FzZSBvZiDigJhtdWx0aSB0aHJlYWTigJkg Y2FwdHVyZSBtYXN0ZXIgdGhyZWFkIGlzIG5vdCBpbnZvbHZlZCBpbiBkdW1wX3BhY2tldHMgdGh1 cyBhdm9pZGluZyBhbnkgcGFja2V0IGRyb3BzIG9yIHBlcmZvcm1hbmNlIGlzc3VlLi4NCg== From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 95213A05D3 for ; Fri, 26 Apr 2019 12:54:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A4D021B5CD; Fri, 26 Apr 2019 12:54:38 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 845601B5C1 for ; Fri, 26 Apr 2019 12:54:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Apr 2019 03:54:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,397,1549958400"; d="scan'208,217";a="134581512" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga007.jf.intel.com with ESMTP; 26 Apr 2019 03:54:35 -0700 Received: from bgsmsx155.gar.corp.intel.com (10.224.48.102) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 26 Apr 2019 03:54:34 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.225]) by BGSMSX155.gar.corp.intel.com ([169.254.12.162]) with mapi id 14.03.0415.000; Fri, 26 Apr 2019 16:24:31 +0530 From: "Varghese, Vipin" To: Suanming.Mou , "Pattan, Reshma" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] app/pdump: exits once primary app exited Thread-Index: AQHU+3PvpK4/OfOwwkSH+YBzP/84WqZNBN0ggACmdQCAAJf/wA== Date: Fri, 26 Apr 2019 10:54:31 +0000 Message-ID: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D33E2C8@BGSMSX101.gar.corp.intel.com> References: <1556210141-43153-1-git-send-email-mousuanming@huawei.com> <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D33DEB0@BGSMSX101.gar.corp.intel.com> <25e85f37-231e-d303-8d7a-e3addd6534d5@huawei.com> In-Reply-To: <25e85f37-231e-d303-8d7a-e3addd6534d5@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDk2NzI1ZTQtNTU3MC00MjBiLTlmZmItYmJkNDU5NmYyMWI2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieUw3STM5SjBtejNWU3FZNlN3OGZMQml6YjZwVGVVWWpBQ2poYXhqWERTbFEzNEhhckpnUEMzcHdkZVJwb21JSiJ9 dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.223.10.10] MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] app/pdump: exits once primary app exited X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190426105431.8QVex8wmnTefgljp9R6ZdNmr-HnAydqLuM24CECUO2Y@z> SGksDQoNCkxvb2tzIGxpa2Ugc29tZXRoaW5nIGluIGVtYWlsIGZvcm1hdCBzZXR0aW5nIGlzIGFm ZmVjdGluZyB0aGUgc3R5bGUuIFBsZWFzZSBmaW5kIG15IHJlcGxpZXMgYmVsb3cNCnNuaXBwZWQN Cg0KDQoNCkFzIHBlciB0aGUgY3VycmVudCBzdWdnZXN0ZWQgY29kZSBmbG93IGNoZWNrIGlzIGFk ZGVkIHRvIHdoaWxlIGxvb3AgaW4gZnVuY3Rpb24gYGR1bXBfcGFja2V0cycuDQoNClRoYW5rcyBm b3IgdGhlIHJlcGx5LiBTaW5jZSB3YW50IHRvIG1ha2UgaXQgY2xlYW4sIHRoZSBjb2RlIHdhcyBo ZXJlLg0KDQpIb3dldmVyLCBpdCBzZWVtcyBuZWVkIHRvIHRha2UgY2FyZSBvZiB0aGUgcGVyZm9y bWFuY2UgaW1wYWN0IGZpcnN0Lg0KDQpSZXNwb25zZT4gdGhhbmtzIGZvciBhY2tub3dsZWRnaW5n IHRoZSBzYW1lLg0KDQoNCg0KUXVlc3Rpb25zOg0KDQoxLiBXaGF0IGlzIGltcGFjdCBpbiBwZXJm b3JtYW5jZSB3aXRoIGFuZCB3aXRob3V0IHBhdGNoPw0KDQpBMS4gRG8gYSBsaXR0bGUgdHJpY2sg YXMgdGhlIHBhdGNoIGJlbG93IHRvIHRlc3RlZCB0aGUgaW1wYWN0IGluIHRoZSBzaW5nbGUgY29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gICAgICAgICAgICAgICAgIHBkdW1wX3RbaV0ucXVldWUpOw0KDQoNCg0KLSAgICAg ICAgICAgICAgd2hpbGUgKCFxdWl0X3NpZ25hbCkgew0KDQorICAgICAgICAgICAgICAvKiBtYWtl IGl0IGhvdCAqLw0KDQorICAgICAgICAgICAgICBydGVfZWFsX3ByaW1hcnlfcHJvY19hbGl2ZShO VUxMKTsNCg0KKyAgICAgICAgICAgICAgcnRlX2VhbF9wcmltYXJ5X3Byb2NfYWxpdmUoTlVMTCkN Cg0KKw0KDQorICAgICAgICAgICAgICBzdGFydCA9IHJ0ZV9yZHRzYygpOw0KDQorICAgICAgICAg ICAgICB3aGlsZSAocXVpdF9zaWduYWwgPCA1MDAwMCkgew0KDQorICAgICAgICAgICAgICAgICAg ICAgLyogSnVzdCB0ZXN0aW5nIHdpdGggYW5kIHcvbyB0aGUgJ2lmJyBsaW5lIGJlbG93ICovDQoN CisgICAgICAgICAgICAgICAgICAgICBpZiAocnRlX2VhbF9wcmltYXJ5X3Byb2NfYWxpdmUoTlVM TCkpDQoNCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHF1aXRfc2lnbmFsKys7DQoNCiAg ICAgICAgICAgICAgICAgICAgICBmb3IgKGkgPSAwOyBpIDwgbnVtX3R1cGxlczsgaSsrKQ0KDQog ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwZHVtcF9wYWNrZXRzKCZwZHVtcF90W2ldKTsN Cg0KICAgICAgICAgICAgICAgfQ0KDQorICAgICAgICAgICAgICBlbmQgPSBydGVfcmR0c2MoKTsN Cg0KKyAgICAgICAgICAgICAgcHJpbnRmKCJUb3RhbGx5IGNvdW50OiV1LCBjb3N0IHRzYzolbHVc biIsIHF1aXRfc2lnbmFsLCBlbmQgLSBzdGFydCk7DQoNCg0KDQogICAgICAgICAgICAgICByZXR1 cm47DQoNCiAgICAgICB9DQoNCg0KDQpUaGUgdG90YWwgdHNjIGNvc3QgaXMgYWJvdXQgMzM4ODA5 NjcxIHdp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