From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA5FBC4363D for ; Tue, 6 Oct 2020 13:23:28 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4E4A7207EA for ; Tue, 6 Oct 2020 13:23:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Xu57/swn"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OB+ONDuI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4E4A7207EA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hYj+BCV4SEebF9Xlvfs6gF6IJXUHkm1Q6gfXP4xvO7U=; b=Xu57/swneKxC1DVHOmhMUnq5W LhxF2rPr/ShrzTNqZUtV0B5NoNiHI/VcM24PXaV0T7o+MR/sfoYJp5ML3dBDo+ViVr9sbc4OGZ+tV AHifqJ+7gQBuOMXOjm553Je4hq+W2Vkc5gaFgGARD5n53gkyLwlPyauNkenJ7Btyw8L92klTarZIa HdlrhaT6Xeimg8hWV1vHeKqXDlJXyCZBX1CnPQ6l/pglB3TUKcMKIEj/PN3TadGoLbJxNLHdiUh+1 +XMQSoXNetVeo0C7Ru7VxN0MMUuGm5zQdUoNHa2U99jtOEkm4hiv/Py+3h6Ib7maIVSma0tt27H93 RHjctmCtw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPmuz-000821-1f; Tue, 06 Oct 2020 13:22:13 +0000 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPmuu-0007zQ-LJ for linux-arm-kernel@lists.infradead.org; Tue, 06 Oct 2020 13:22:09 +0000 Received: by mail-pj1-x1042.google.com with SMTP id a17so1550885pju.1 for ; Tue, 06 Oct 2020 06:22:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=PWSYs1a8FFN/N3ea9U5FZoJy25H4SezrT/BXGZDJvBM=; b=OB+ONDuI5prJx2EA16iW3QJKenJtQKw+8fzLdqHkNtSBsNuX6930xyWOF2NwsTwS6P 2RQxa0I4nKx1WU/JqFqbEJjMlzLvEBdutLJb5sveHha1xLJjC3CAFtdOufWbEfTkfOGL b4xqiNHBmmMr9bjn5xJLYUfmbd3mJWI68h8oon0yIMUo9TD7V48mZaThaJP4dt3rRNaR BeQ2WMozZWNjkluMUX+tPLz3rkKCrDLeAZAyLysWSzkjmG4+s7SpD9BcMg7QZz2qaHV6 OcyMNPU64xmr/N3fcAR4CjDBbkmP9nTCwAqP5gaIOJwyuApthTyW/wubPjgYIe4gNaME ZB+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=PWSYs1a8FFN/N3ea9U5FZoJy25H4SezrT/BXGZDJvBM=; b=chT00qGcQ+n7UQ1VqZu/noh9UtaMb6t/VjW6bct2IeP7sOOguYlXKV5afsg8Roz6iy L/gklG1KFSd6miFPMie3EQbquXvxz5xzIOjVnFSrNJQRmKU3A1sTcLywgwKOtlikv5zw bKOuGyR1RPfhIanaD8ZR4NDTUg6rDe+oQbWVbGwOvCpX1EkeORHA+1rKHVvWxW9gBjvd X1FGQ2XhU/h9k7vraw0NGcfhdsjz6K8xIX48MluplEfFzwXbrhovJp76jTQpGTU8w2xP D2gCSsK2+e/nYnerD19cmJzS5J4AfISclCAtVXoq3R+itz5tzqsspHDJ2fNOH7HJzmwA APwQ== X-Gm-Message-State: AOAM532Mu796VOL6OY4g+68J/OGeGkUZqVuX1Ad3oRcEcCtdy7IJTSt1 tQ7d9NL5jZvTyImow/OoyU8= X-Google-Smtp-Source: ABdhPJxUH0lr/aSL7zfAdgpGoiB3Nu6Gydp5HBswS79sh2iTunSya+e/KAu85uVT30eV2vaLNGmzPQ== X-Received: by 2002:a17:902:714e:b029:d3:b389:c0d2 with SMTP id u14-20020a170902714eb02900d3b389c0d2mr3225941plm.57.1601990524508; Tue, 06 Oct 2020 06:22:04 -0700 (PDT) Received: from BG-LT6221.marvell.com ([171.61.73.113]) by smtp.gmail.com with ESMTPSA id v9sm2844987pjh.2.2020.10.06.06.22.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Oct 2020 06:22:03 -0700 (PDT) Date: Tue, 6 Oct 2020 18:51:54 +0530 From: Linu Cherian To: Suzuki K Poulose Subject: Re: [PATCH v4 0/2] Make sysFS functional on topologies with per core sink Message-ID: <20201006132154.GA79@BG-LT6221.marvell.com> References: <20200904024106.21478-1-lcherian@marvell.com> <2bd65f2d-5660-10b3-f51f-448221d78d3d@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2bd65f2d-5660-10b3-f51f-448221d78d3d@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201006_092208_746073_EDE81F82 X-CRM114-Status: GOOD ( 20.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org, mathieu.poirier@linaro.org, lcherian@marvell.com, mike.leach@linaro.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Suzuki, On Mon Oct 05, 2020 at 12:27:07PM +0100, Suzuki K Poulose wrote: > Hi Linu, > > On 09/04/2020 03:41 AM, Linu Cherian wrote: > >This patch series tries to fix the sysfs breakage on topologies > >with per core sink. > > > >Changes since v3: > >- References to coresight_get_enabled_sink in perf interface > > has been removed and marked deprecated as a new patch. > >- To avoid changes to coresight_find_sink for ease of maintenance, > > search function specific to sysfs usage has been added. > >- Sysfs being the only user for coresight_get_enabled sink, > > reset option is removed as well. > > Have you tried running perf with --per-thread option ? I believe > this will be impacted as well, as we choose a single sink at the > moment and this may not be reachable from the other CPUs, where > the event may be scheduled. Eventually loosing trace for the > duration where the task is scheduled on a different CPU. > Our testing with perf was limited(using -C option) and havent tried with --per-thread option. > Please could you try this patch and see if helps ? I have lightly > tested this on a fast model. Sure, will get back on this. -- Linu cherian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel