Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp629261pxk; Wed, 16 Sep 2020 12:42:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhA7ZtsZfHL1/vxyKuiY+nwVmohgry1CTiSdX4vZ/eUwinU7sfJh/rRBQPnL+47FjS1eB/ X-Received: by 2002:a05:6402:1d03:: with SMTP id dg3mr28778844edb.249.1600285358848; Wed, 16 Sep 2020 12:42:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600285358; cv=none; d=google.com; s=arc-20160816; b=Ht+a1qPQFRBAi4Fyds2MlbOcG4hk8u5+DbgePR25GDVL7q1lgBP6YoLc/PGWU/jNv4 7kZfe/uaPJazLPBG5erl/m+AX2klKkyi5ProHEG3fDjbDrL1PPXuQnYp2WBXAtiNt34U oYIWtfsqWTZrNwftCffbNiyyVhTL+N5Ugdu07ENHngqG6iQVPPVIF5NchCH08qX6jTnW Qq3Ixb8R211Am8GEKxAPIec+j+FJqU7RZrqbq8eSOQxXYv7TIWd+G2XgtpOckMm3bwdq NU5OZ6OcSVOJjzgqk8+dZdFIs4XoWqxNtIiioLUaOgWVqL15zKjy6ED0a/Njh2WGYmej 3mSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3pZ12hyTPUbEewJ2vo5m/+iaoNS+QCjKSOOA3CDCSbA=; b=KClyrNBdFRGnAgqT0yiiaOrslW7m1mvMb5tHdmRSi5d6n7hCtUvVOgBX2I7xpsEMAn Zs7ARbp+2dL7N2UxWA+dLhlre/khTEvMNZlFHosCJtHY0VRRw78VvP8EhItHtSk4Khvk mjZN3sAM8/Guwnh0KvDy0G8ObEHc7ClDsd6ErW4E3p/1FQJzuXRjbWFDP9U3jnM0c95V zLfaVfRc+YTi0v+x6ui1H+XnvmNDRCfXO6+9O9bLXyhNeGkatEoITQlMbKDPxqXjh149 wjt2uItxvzXJkFDHjuhvVRS0YSoVqe1YBLbaG3y94zOrOLU6JKA+L471UwukaUDKSsLo IIiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uz9UmhCU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id c21si13265319edx.296.2020.09.16.12.42.16; Wed, 16 Sep 2020 12:42:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uz9UmhCU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727624AbgIPTlS (ORCPT + 99 others); Wed, 16 Sep 2020 15:41:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727395AbgIPTTa (ORCPT ); Wed, 16 Sep 2020 15:19:30 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18A4CC0612F2 for ; Wed, 16 Sep 2020 12:17:54 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id y6so3715760plt.9 for ; Wed, 16 Sep 2020 12:17:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3pZ12hyTPUbEewJ2vo5m/+iaoNS+QCjKSOOA3CDCSbA=; b=uz9UmhCU59o1i0ZyaHwAVp/P3DPyDzCFGSNqI/pgzewML7SW5Iw+rwSRPblApPA85S 6Y48LZ4ro8MjjqtD6eRWAFh8pQwGkK8+AleZGgf+DXSCvS4uZ/2GeNic+8xdKxhh1A6y mzFUM4RtJeJdAZR83Dsvakh6kSAz4uOjeqbzbHBGauG59xDq86+juLKcOcm9r+9OrxW+ RUUys+ECWzZoJFSuM8jsvaf5NNRnyS1HlSkECXGPXRBF+xM9cZ/gS7IkJ0brnLwqGODp 3bEMPqbsuhuNEjtvxlNVKmwe5RVDNMLuW918kVVbNL/rQWReInaoVuCTfQUVcV4i24bY 84Ew== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=3pZ12hyTPUbEewJ2vo5m/+iaoNS+QCjKSOOA3CDCSbA=; b=XTPOvIdgyKMjXlnEasdVZC72x9jL+RN0104r6yRd4InUzp//5o37mJDB7jtF1kYReo zIDb1TZo7mqi89uKlEH2XNUL8I0hdXD2yymuiQ82TpUMGKIb9mnmKiEhz6NBSmt+D0Xh Gcqh7BlF8uxwnU12EOE0P1LcIqysDwOTxbGaZ4YMFOSnH71wt2NPx/Qsry2fs7rzUNvc mhpD/yUr6G1ZZIbrFGRYGY7f2Kx/mGwjY6bRVrskn8wqlLfN/gjyUwrOAFE2UsDT3jOp KuWj5WX/Q32P9u27ToJQKZxKT14JKipq3nz3x3rYZor27N3LWgNXpveFoUmh4Ji/g2MD 8eoQ== X-Gm-Message-State: AOAM533HzDv2W9OW/Jur/Qi3CZXeNEpRp4jGAST8HGLQxuziQ/grojBO SygVOZ438djUEwLfl0ss2ps5qQ== X-Received: by 2002:a17:902:fe98:b029:d1:e5e7:be1a with SMTP id x24-20020a170902fe98b02900d1e5e7be1amr7927010plm.77.1600283873686; Wed, 16 Sep 2020 12:17:53 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id b2sm11373688pfp.3.2020.09.16.12.17.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 12:17:53 -0700 (PDT) From: Mathieu Poirier To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 13/16] coresight: etm: perf: Sink selection using sysfs is deprecated Date: Wed, 16 Sep 2020 13:17:34 -0600 Message-Id: <20200916191737.4001561-14-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200916191737.4001561-1-mathieu.poirier@linaro.org> References: <20200916191737.4001561-1-mathieu.poirier@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Linu Cherian When using the perf interface, sink selection using sysfs is deprecated. Signed-off-by: Linu Cherian Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm-perf.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/hwtracing/coresight/coresight-etm-perf.c b/drivers/hwtracing/coresight/coresight-etm-perf.c index 9d61a71da96f..b4e5758b6c12 100644 --- a/drivers/hwtracing/coresight/coresight-etm-perf.c +++ b/drivers/hwtracing/coresight/coresight-etm-perf.c @@ -222,8 +222,6 @@ static void *etm_setup_aux(struct perf_event *event, void **pages, if (event->attr.config2) { id = (u32)event->attr.config2; sink = coresight_get_sink_by_id(id); - } else { - sink = coresight_get_enabled_sink(true); } mask = &event_data->mask; -- 2.25.1