From patchwork Tue Feb 12 17:16:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 158163 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4088677jaa; Tue, 12 Feb 2019 09:16:23 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ9YlGgjz9MRG4KkkHZ9Nq4WWijsiXeCEXhPZyr1VeX3FUWVIG8VC0rJYLM6qwQXOkuUecE X-Received: by 2002:a17:902:2887:: with SMTP id f7mr4906602plb.176.1549991783759; Tue, 12 Feb 2019 09:16:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549991783; cv=none; d=google.com; s=arc-20160816; b=jALj369je/v+Af8b/9SndmdGLvzXihZKh0KgozR5h3qdZA1vJjmgCItY8/76CDw0nj IB5vIv5hdK9Y0GK2EJL+R5YU7hl2GWAae9CgTo8gkuNiUCYqfF8lKIZkfzKMHYlrH/l5 /2FsjMVn/bDlPnpIziKSZ0mTHb+7/pXoO/2sSIIQcRoZUOCkkJ0af3XCR/ySaFkR72gR a256xNVqDrz2DYV2pFOVMPGwUSER4lrCMCeg9c4BFwDXCDuehbMBJm+qr1fv67h3UtCl OiANS6eNDVlaKcX3/ncc49/NwCnpkhZZ+HRN8gFxVfdapRAv4K6N/4P0aWm7+UA/Gxq2 8Fdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=uCIi1jYyV2+K3lPUo87+afVGlzj4vdPTBOejQeoNlOI=; b=mTfQ0SQ7ZtSvjNEeHOSWMsqj7xfiUZpCuQ+i9vHJNvt34laY7WwkcpLNMmZfeWMDJ0 iRo/fV5aGDFKpi1zUbp7rXmPguKNOZYpTWXWF/KDRNn7ZcirB5u1GLhafU9EhD5Z2K3R tqqcdn8Tfw38iPcoQo0pqSrGhqDsuUhhDlJCkZLNvi5xMUZm0m5GCqhnOaDEHwuaGbK+ 5HIHzx+7opzs9aR3LEenEFMb93WVUMyQiQpGjxOUrVqhVvJEesIJqfqd3tcLg7Der9xc KznjigwK+dtmUH5ilOHzLNwJQMdxsBxdxJzVol8+YLQaznivCy/i8bjiwXxfeKpEA+Mq Ka2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jxjIdIau; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e92si955949plb.152.2019.02.12.09.16.23; Tue, 12 Feb 2019 09:16:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jxjIdIau; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731745AbfBLRQW (ORCPT + 31 others); Tue, 12 Feb 2019 12:16:22 -0500 Received: from mail-pf1-f177.google.com ([209.85.210.177]:46833 "EHLO mail-pf1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729211AbfBLRQV (ORCPT ); Tue, 12 Feb 2019 12:16:21 -0500 Received: by mail-pf1-f177.google.com with SMTP id g6so1576221pfh.13 for ; Tue, 12 Feb 2019 09:16:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=uCIi1jYyV2+K3lPUo87+afVGlzj4vdPTBOejQeoNlOI=; b=jxjIdIausF1wkO2dP18o+1u0aV2nKICvDEvW5GLEbt4Uuvq26IoXj8ArQbQPHiFOcD DNWHLVQ+AhVZrCAAwM540jrJvEBICkr5lfKuNZYB87yQUQUhUgvEqJudrEiag19BToXk Mhk1vMZZM5zcm94KM4/KvySTBp7xr0q2mOGQYzZZu04YLortxuQG70qf0GLwI4/0YMPr bBh18tUHPGLbp16EyeCTDT7uOSbEbUcg0dbSdAFgRJWBwOEtx4VZqzLtf9WKhulR2QJO PnKMAoef/rE0HlsO+Jr6QIxJ3fFUmvKtHP+7svPOcFuPjBOFnUqVxawH67sHRSaSn0wc mLog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=uCIi1jYyV2+K3lPUo87+afVGlzj4vdPTBOejQeoNlOI=; b=Wq6KcGfyTaIf3UfgMugBbh7x25n1rRAyeWXaNJlsYHeX84gq/m/lXOjW+etoXI8pcO gX/y6AHWYVyO6gUmphcIzNXa58Dia+y88d3DcLBM+ujZyqF5VNGHAC7GSFtxKeJNa5ad plFP1Cw0GuW/Nf2f5wsaA+s+wtpma3IUDN1oBTZrygMCtKk88jlTgH1H/OOVtFz8MfLJ XJrDW2z8EXY/arm/i3WcnlzaztFLtCoFSfd7uOXw6z2xmvetcf01QT9TZ2pe6jZXUhUd s6OEvvM7mtEJvaKZgAMyF8Wylb8rYERcW8MF2l+66wI5kkuoCzt/8dmueZlQrTvaccBj oDIg== X-Gm-Message-State: AHQUAuYu6og1abmlrexDXnbric59D7g0C5G4LRyqUyRYUqu1EaYWtfp7 67Hhe+wlEP9yNnkgBL2nfCkzAA== X-Received: by 2002:a63:515d:: with SMTP id r29mr4452257pgl.350.1549991780302; Tue, 12 Feb 2019 09:16:20 -0800 (PST) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id z4sm8659231pgu.10.2019.02.12.09.16.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Feb 2019 09:16:19 -0800 (PST) From: Mathieu Poirier To: acme@kernel.org Cc: suzuki.poulose@arm.com, mingo@redhat.com, peterz@infradead.org, jolsa@redhat.com, leo.yan@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 00/13] perf tools: CoreSight code cleanup and refactoring Date: Tue, 12 Feb 2019 10:16:05 -0700 Message-Id: <20190212171618.25355-1-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Good day Arnaldo, The only reason I'm sending this set so late in the cycle is that it does absolutely nothing other than cleaning up and refactoring code - not a single new feature is added here. As such if my colleagues on CoreSight get to review it fast enough I leave it entirely to you to decide if you want to queue it for the 5.1 merge window. If that is not enough time then ignore the whole thing and I will resend when a new rc1 has been released. Thank you for your time, Mathieu Mathieu Poirier (13): perf tools: Remove unused structure field "state" perf tools: Remove unused structure field "time" and "timestamp" perf tools: Fix wrong return values in error path perf tools: Introducing function cs_etm_decoder__init_dparams() perf tools: Fix memory leak in error path perf tools: Introducing function cs_etm__init_trace_params() perf tools: Fix erroneous comment perf tools: Cleaning up function cs_etm__alloc_queue() perf tools: Rethink kernel address initialisation perf tools: Make cs_etm__run_decoder() queue independent perf tools: Modularize main decoder function perf tools: Modularize main packet processing loop perf tools: Modularize auxtrace_buffer fetch function .../perf/util/cs-etm-decoder/cs-etm-decoder.h | 10 +- tools/perf/util/cs-etm.c | 457 ++++++++++-------- tools/perf/util/cs-etm.h | 4 +- 3 files changed, 262 insertions(+), 209 deletions(-) -- 2.17.1