Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754035AbdFWOVA (ORCPT ); Fri, 23 Jun 2017 10:21:00 -0400 Received: from mail-bn3nam01on0072.outbound.protection.outlook.com ([104.47.33.72]:13664 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751230AbdFWOUr (ORCPT ); Fri, 23 Jun 2017 10:20:47 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=nxp.com; From: Leonard Crestez To: Kieran Bingham , Jan Kiszka CC: Subject: [PATCH 2/2] scripts/gdb: lx-dmesg: Use errors=replace for decoding Date: Fri, 23 Jun 2017 17:20:35 +0300 Message-ID: X-Mailer: git-send-email 2.7.4 In-Reply-To: <00d6621945ececb6c9fb360aef0efd5747439a38.1498227531.git.leonard.crestez@nxp.com> References: <00d6621945ececb6c9fb360aef0efd5747439a38.1498227531.git.leonard.crestez@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131427012441839317;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(39850400002)(39400400002)(39840400002)(39860400002)(39380400002)(39450400003)(39410400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(77096006)(6666003)(2950100002)(356003)(189998001)(81166006)(53936002)(8676002)(85426001)(8936002)(76176999)(498600001)(50986999)(5003940100001)(118296001)(50226002)(38730400002)(2906002)(33646002)(305945005)(4326008)(575784001)(86362001)(36756003)(104016004)(106466001)(47776003)(5660300001)(50466002)(105606002)(48376002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0301MB0907;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN1BFFO11FD042;1:Bg/J4crzXQ8ucCcquInLou7q/IbnBeWRb6JQiTbUd?= =?us-ascii?Q?sM2RZgYByRDSQi89Gr6gfyoBBMaNQN0z7+tcHtcdied2zEpT+UBRU1VT9Yph?= =?us-ascii?Q?dUTY4T/TLOQmW9VXRwDUcKq7O42+/PvhR5t22AHkzp9lnYLddmmLb3ATEiQg?= =?us-ascii?Q?ndmyJ2jLiDjhmF0rFqu98crk4NQ58GwHqDH7cmWGLpdY6kc9oy18KysD5n8G?= =?us-ascii?Q?yXrsXuPYilb4/55rHquvfMyGpnOTpGUvLA6ngOfH0XrJ0z69yQE2Lu5pppuQ?= =?us-ascii?Q?yYCm5clbCcANK//HYmQEgN9UwCUp9hzG1o1ZNawyWu43lQnpWuH3IEU7r1zl?= =?us-ascii?Q?5TZGkBzyc8cnVbFcX6q6yX0DmMPr4nhCXCqBj8J/CkbES07FzhcE9hPgKMXz?= =?us-ascii?Q?RQqwNnJzjEULv8pcIEh6zBKJ3o4odRYl/Vrq7dQcN+plkPerHOBbPVu8xi52?= =?us-ascii?Q?M96HtIwBBLYAbLvr+Js8rIcbuXvQLG5qTMo6yFtqDI1jZuba4a2SWH2eyqJy?= =?us-ascii?Q?IirGA7qgfP5B3p2a3MqDR9JTcisJtaZU70IgZ2UNcb2VbuTC/D2X+MCYqWJS?= =?us-ascii?Q?sEPz1fS3Kl2zngeVmqWjo3HK34bHo9fwdms1p/K75wznYepuzqJJ8Hx80cMw?= =?us-ascii?Q?zVRCHsq9sLMiYpgbqFCr/ol2Lg+ftm2JWkdroZ+BVwOJFKD1OgScnDf7oueu?= =?us-ascii?Q?EQMUEUj8XE2ac07Ettrqfa8sNGxBMHUCDc5RceMSFJ7qFL+QSp4SyJV42n2r?= =?us-ascii?Q?EKDf6es38yZk5is2DGDVW+bo+CK7GFO/HJPZdCguIu2IY9Ep9H4aov5eAfvo?= =?us-ascii?Q?40Xu2wid01KqcxJSB/gNrkeL1D0eWsXN23zwkZHw0PZs/4Y0gQfTiwNnaeLv?= =?us-ascii?Q?c3zw1vfGdm8CLvi2zASrmh4SeUkxca4kwB+nrDWQYYd3kVTFum0Pfica1b22?= =?us-ascii?Q?oM0BxV3VhndMSfcaRmOh8yXfrzpSukGj4LX3cu5VQ=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 412af3b3-8af3-4dd6-3574-08d4ba4308f1 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500067)(300135000095)(300000501067)(300135300095)(22001)(300000502067)(300135100095)(300000503067)(300135400095)(201703131430075)(201703131517081)(300000504067)(300135200095)(300000505067)(300135600095)(300000506055)(300135500095);SRVR:CY1PR0301MB0907; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0907;3:iWAU++J6dkUMK4xYqCN/bqlY1bWa+kEwhq5mI85z66Ov6JK/sgcgcAHJZWqE9svqvTyfvhES2NEZYwODt7QlYIS0aJUvCUAitG0KLjBtITLHeMFE8PBFKBsc7hKoh2xIRvUduLALVhg0wE0mIAvnH4J63n4qfmlItIwei8ByIv/ar6JIFCC+eQ+8mCQepnn7h8LPrOEpUsCcr+tUVgprdlBynP2cZ/0Dga1QThmYi1bQJ1/cKzoy/dhQ0IWmePmU/VgWNKIeuHHbb/Z9TUoBMHxl5lRWNHBW6M52Bx3m+FSqLmBn115AGRJIULQaiuXv7Cog7EGDkNILWvWVuzwKvQVvfnLnSTXoUBvO8iuFD+XOBO6TiUNLK2Yo7OUcmRMsmBKecyPWBoGw1pIwttq31+0dpj+Aw9nCH/KPQzRVO1nUTNwV7tQtsLNd++2kJMLRcDXFI5ZeigjNlp+RxujTsHPj07Z8RDO1BJWOhHTgSxi6NR0RKnhkygjhKL08XrO48XBQtTHC0f/w8nKBfkWgm5Fl0FBcXfjNLAfFWdAKPPbsYwMtqSv2CNOS+wYChwsfVuZS7keobgwLpxalHf2IpJ2R7ovFfGcSBv5GBwmpiOgr3enwyH2yGQzIOSuhZURW6dkKY50K2wn4VBU0Mhl86N9nx3xUBKYhO0IPiKKpSlrt7ChXPLf6soc0U+7Fb1IwaS79zW+qIKS9nuzca2lZzfp+sjOuGhPvkxSYzh76zF+iUav851JTAWVnnBy4QHcxIr67WL0KJML9DHakpfjMaayKBJmkJQpWiuRjBjwaXs19PYz0PX0/mnRguXYOj0Uoa/ZG80/pIwwm8nTecRCeEA== X-MS-TrafficTypeDiagnostic: CY1PR0301MB0907: X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0907;25:iyOuB/FvjhDDKOGddhL9QUZgg3l0J+ieqBnks/huxbWeExcLpqnJiKdR2ZskxEpXZj2KokCiendF63ZoigWHDgtUosUHCZD2F56jewniqc24b5IMSPBXAKDFCa55nUxOyKhQLWwN3Z/YxY3wBVjhgYqSywLIsc5I+1PBhtdTcCSeHZKUarsixO40lZrUFij9jnx1VEpI3Xk3URo7yos0XdaoXkkneZepJs7usWtfLUhePLpok0ItA5RLNMlrZMpi2bKYSwNyVyh8yrfqhD03Hx39zj4FPDwNe8cTb7X0tw3LgizShGFvkIp83iD9AaKVNpvFgKZtNonc44uDpuZ78CQpTyauvAq13d+wE1mOdPnnHEuk3SejAwO/LFfcM6t7Jg4zyyNQQPRkjekLR0AZpFxuHjZT4Py1BNL6chRef4FjlfNDbVMlZw8xZpOQTWsNU8X++ITEwzDFCerg18luKh+5k/uOPc+zunc5xZPwVElmbxAFYnThE4J5kruwyR5ZEWvXWtMix845Sa/abEMNjDN1/BeBCDXNgLUGE/NFdNcGdE6RLNLRPZhAQDWLJo6rJy0KY+ucH/yla2GVG4MBF+hb23dukbYOSVU4M8QkMRJ/uXNsd6xddXXuhr2j5JJzpvBgmy2uso2moPCc3BBV6HO83sBzQAhBDEPfgcNtR+3Kb4EEW42GB3xiv8zZgacwW2of76YD+R/5d4jr/nsetAD4ZM+2b/h1/MgTBijFJeP07G3pMQvIjBM6kqCzocWzRTTqfIv4l1WciFfTJAO8mEFF74s4PvBPSihKBANMzrDeM8bFYF60HtKLRjdPJireui3BTiiaEgjgdbJJtDBGHHHdCBoRxIm74lXBVSwhHuw1Q4p1o57/2VD4M+dhmEnp15hU97lj9fDTbYG8EePk8AZyec4wduk/J+3gwaG7XCY= X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0907;31:kZZDPZpPBYA588hqcwFjUYptoOneEHHwzGuzpnRyv16pXgg8SLKiRGaJC9QC41pQWvBs/RTfBsw7K/0gx51eAvE/mioPpvepFqxqmnxvZe27xMX9YiqhOvWjgZQfI8n1QQOPb1TwjsPbnYzY45yYiGoSZWf/EN0qeAEb+AJqRKZJKoxlFQ7RQcYo/LmoYUiInKf+TTZX1k0xtIkwg/K8KDuL+Shh1vkfonZikAmQCaK02ZFSeA6Q7q21aG9RyiyqW91HQekU2p83CaAbPg6dE0aMfZolIV5kfrKUrWX8jStlOXgpCvnBl/CZZWTv6EQDXprmSc+9SpIZDr7CCi067JbA8cptOguSqmHgYFdDbpwjBy3FZ0NzZeOVv2cjTe5kTjld92A157hEc4Adlm2EVuFBBjZKuJUUFfzHe0lopArRv1mkFfLyN9/BbX11wozRBLt3PLrynmpjgXZO7x5rq++yadA2d7YFR0ohMPsxgEfWhH7xbENhlII7kwlIhNZgJ7SSVt72bnMuH2gGbqizXTVKm+ID81CRhfiqIzHAbkkYTX+UbDtvPx4v4ZqXGSG2haWO+qBt46ZrPuRDt1lkFhDIwHbaN/Vhk8EQp6cOgmDCf7Tzq3boIkS6yzUdSmBkQAS4Lf6FqAXn2DTi8xQW8Jvb4/NcAR3nhmZPzbpCcItBiZ5PVhyYVaTpaDepgyGA2MDmpC5Jzjafj8ycg6JTOA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(788757137089); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123565025)(20161123556025)(20161123559100)(20161123563025)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR0301MB0907;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR0301MB0907; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0301MB0907;4:koJsdEEf39lhYnuMYt0iWFfBec/L28K+EzOJdkQY?= =?us-ascii?Q?3MeoxS8DYWSa8f7DOHhBo3L5axVf/gkrrHxtq5I7ayeVCjgErqGtqzwy2n9l?= =?us-ascii?Q?tTBzykfsTwL4w37fDjvkbyZgsgNWhAIg406N5E8qDBf5+GFw1E4gB0BDpCW4?= =?us-ascii?Q?lMuPnmZ/vdtBRT0bD5S8TMT4+W9mUDbVZ2PsHTkr2HvYkZYJ8tWUVc/fZxAv?= =?us-ascii?Q?KRZvuvrP13jsNMP0bUoSYg4uHB07gb34ZTVSGZ6WvQhe7iW3kSAhe8G89nnB?= =?us-ascii?Q?ZJiCO0tSJJgJsKcJIj0+2P0yzBkrHD88Jp6Mm6e7svBRkwx1lUnctRIiEv2g?= =?us-ascii?Q?whrLjSCuknF8YiauyzztJzgh62/u1LhqKZdgkbeXn6PPC2Y7dg0eqWNosMuN?= =?us-ascii?Q?1UHpOlP1ZocWDEPu6GKPhCPtr63mIWC5JSaMOYYODnuT0UePfsllfPBJwwQZ?= =?us-ascii?Q?4yJxzWCC5kvdgXuzF0jjSbjrqI7h/9s17F6ESbi8M3Ya/uNLR7nlUwaAMW7O?= =?us-ascii?Q?9ChTacrd4ztXjMOCB2R/sJnc7eZweiJ6ScXHBsKDszZ+O4CX5Kqr5IIRc54h?= =?us-ascii?Q?2MpqX3Cc36VYicgoWfxq1XOuJp2KjTtPTz6EbiIu/AdG5cEhgjt0syudn5Ly?= =?us-ascii?Q?Pyrt4PJbS3ncJWWtUjmJRLbIE+eJi84LHa4sF9S5uEIH3T6WlZC/3ySPqsQU?= =?us-ascii?Q?NsWNICEvnn40MiPqnCjrCut8ScPRsE5jOyuDxRhlysFNDFaUT6rceuUaci7R?= =?us-ascii?Q?1b0XEE5lIXzq5CQNp8oU2FNaXo4kKFzAevQeXGezwpnQGbzzQmRy8BV7eYg/?= =?us-ascii?Q?ca46yvPFtqIxkHOh7OArYNgSvvqY04sZcTDOkDTAecgFJHRNYLdbRCV2kBY1?= =?us-ascii?Q?AmQnKoF3fQAJqVkVWJV/mPyoBRMFFl0QQ8w6x1dZvV5/hyJO1317+5QGcQi4?= =?us-ascii?Q?a87NPQuX1EgH5v4R4ZqZk7oq853TJXEIV3UX6SBBD3SsaOSHZ2FjDOAJ+ANV?= =?us-ascii?Q?/+L1GEiMZ2ea4jWu8933A5lgpI7L+/RqBJDyocaNcB6E5opK6Xcd3Jb+cls5?= =?us-ascii?Q?Oamuj3Lm4TsVnv/YcDPftNlt1rfy81QKDF3azhy1SBI2ll8bQQUOH+iHpj2m?= =?us-ascii?Q?NfgGeAR3NZTHuZbtUcNCACicGXdPAatHqO9eLFWBBddgzb/fCMvOY+ECFA9x?= =?us-ascii?Q?ktM7ENzVlIz+9t05T3bc+iqnR64TCR2LQMkhdUzkZyafCyMRwdHMmQ8ffCbf?= =?us-ascii?Q?wuI3MFPAS5PmqL1y62q8qqZYM9+G3f/6thyPb68nREZQiLEKMmw9CYJIWMQp?= =?us-ascii?Q?DQ=3D=3D?= X-Forefront-PRVS: 0347410860 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0301MB0907;23:eOYDXSM0M6D8Jz5E1nXSfWX23uB60f10MROuKIx?= =?us-ascii?Q?z04MC9LpzzjxZ9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us-ascii?Q?6azLcb0GirWahdhedHOgMm5WO7JuCryWZL5rZ0ct6G0NSSLzZ+h5Z/4UbqxD?= =?us-ascii?Q?tlHey9Mpz+GprFQj2OxQ67fufcjii93taP7Dt45yP4NSD8xh++qBE/Gfkj2N?= =?us-ascii?Q?/b6UsJhOv95XxSSfN4SiY13yp4tk3m3X1TEo0QnHaS4U1scFYGyfXyjukvfS?= =?us-ascii?Q?X0bk8q0jJuhd76DWPOGmprP3LaAKO+AZ9yYtn7Q2HARAWyMG7wPt5cAAqakD?= =?us-ascii?Q?ggnF3S+tYdpQnyn8=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0301MB0907;6:siDIh0kOwvyjkjRNQIbJa01socl5NUDaDFSLx9HS?= =?us-ascii?Q?BHenuFw9poI1sbCb4ulWoy56OX7SNOFU/bJK9dqlw8ak0oyZ0lDCCiPHikLS?= =?us-ascii?Q?KKeRc8QOD6Oq/4LJ3pTsc0yPBSW1isto6pQY3ihtgBjE8vtG7xZo2SVWe3F5?= =?us-ascii?Q?/Ix7S9IjNp5V8Egg7eci8ElGU6yQhJiwZhvbfWTkwE/L+TO0vCGWwpn4V70/?= =?us-ascii?Q?R7jkUvm1eMj89uLn3XbtTPBJTo/bQckJWI7mr5Q0/qcCJHnwWfQEAX03BspN?= =?us-ascii?Q?vdIBysFTrIJMPhV60eoG4zLXJqVa+0XSEeqobfc7kG8NTVp5spdZSMtETeuv?= =?us-ascii?Q?bcUHhZRlPa6VNyPM3icmWyRJvsdr3odILutIzxKykFhUyT6bAHzQGAV/9Mrl?= =?us-ascii?Q?ZJ2puhEBkverXVHAyFX22I4lsK+yiYG4KRpM/LAu80CiaekPmBdfQ9MwlZAE?= =?us-ascii?Q?KMws1SBegMko5xlxe4ZjLVTb1BP7P7Mq4OOHYttCU09F1Yh+zVJg5VTcauxi?= =?us-ascii?Q?EROhciYjmTp0QAbU3GB4RN+MlnFBplegrpLbixkeLMhQ0mNeF4Z9mU+5VPtu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Dm3UZNv4gN3iwIJh5ph6dgIttT3DZhsm9chJCaB9YZu0dEKLNN+fYvUg==;24:x1IVeV88NEgg6rKV/J+0KqqVK46VZfuQx7k+GCr+hTTcVVRtk9SgzFhrb9wDv6IwCl56DUkfNbdGQ65w90YyipuZ964Vp8tQog7A79WS+go= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0907;7:LfHOFndOqy0/7Nu34cKFal8UwvxcRp3ZIEkZWkmOML2sF+IBfz5ImGufCQXfLaAtGJeBTrAayBSYSrO8oYGKD6nVT+j+7ybGSMNt4k1tVQcmZcOYBX2a4XP4hHwiT0+JlDhzbDQlt7vWMmOHkzA9idO3CF84GJ3po2XBNBHqK2EQi2ZiNRsz4HVi5mqf0KbpbP0MB9wxee73k//JZ17Cmy/X5vrT7ZRTHrfi3Z1rvUSbJlygLiAvYsjj2eEsYnMPehgS7qPHqNQQ8fjttIEHu5s8sVLAMp27rkC1Hx8gT7RMFgb6J84mgDhrH195XUf0Dm/a1uGMTQ+iFf+rz7Cfy60adfeViGmuZdFtp0FhcfntPEtl/um3aeOQOjSpmMTEg/6pj0mHEXRPsSauTRiD97q7LTEGPCdqMLlifNAba2fX6slDrfOaEfLP2pqTokPfD7oROEBip+/EuQk4HxFYcxx0oDBrsywUgXI9DpRDsSiDskXCw9vkGv0t8L4ueGR9IamwD7Cdta6PbJXatnjR9WuZWQ+/5CHTBkWneHnYDqP8TbOhKAStKVqjt+KSr0ukVbze5dMHWdIhqyh2eKcckPN00FcsBANlLId/sqbQg0rJ74zbOlRNH2FroQxxpvSw5lX1WIf0imci/BZ6mH7lhe2oEz1Ho6wVKwYR8C1NS72Vhp56geIjh0iQcQJlqzWjVR0Y8Hku9DKEdAiYf5g7MDi6qjUfk+087+nIp+5QlygS3zyqmePq7O4cuifQA4n8saHusSLmNuA39nNSMOlg5J0UJLQdkYUOlkZbOmem3ZE= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2017 14:20:43.9967 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0907 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1067 Lines: 30 It is never desirable lx-dmesg to fail on string decoding errors, not even if the log buffer is corrupt. Signed-off-by: Leonard Crestez --- scripts/gdb/linux/dmesg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gdb/linux/dmesg.py b/scripts/gdb/linux/dmesg.py index 6f8d2b2..d0cac58 100644 --- a/scripts/gdb/linux/dmesg.py +++ b/scripts/gdb/linux/dmesg.py @@ -52,13 +52,13 @@ class LxDmesg(gdb.Command): continue text_len = utils.read_u16(log_buf[pos + 10:pos + 12]) - text = log_buf[pos + 16:pos + 16 + text_len].decode() + text = log_buf[pos + 16:pos + 16 + text_len].decode(errors='replace') time_stamp = utils.read_u64(log_buf[pos:pos + 8]) for line in text.splitlines(): gdb.write("[{time:12.6f}] {line}\n".format( time=time_stamp / 1000000000.0, - line=line)) + line=line.encode(errors='replace'))) pos += length -- 2.7.4