Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp337847pxu; Sun, 25 Oct 2020 02:33:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyW9KxKIHZ8mW/GNsMSxKNiNhTQCSoQfOY7fV1zLNHeEseFABxYwyilXyHDSqfphJ8pL9Vq X-Received: by 2002:a17:906:a14c:: with SMTP id bu12mr10639927ejb.444.1603618423517; Sun, 25 Oct 2020 02:33:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603618423; cv=none; d=google.com; s=arc-20160816; b=ZsD4YfffUhofHL1demv1OUZ6DJoxr6kM8QCIJs0FvIQ0VzNOkmQ5av3lj9hcKAG6Ii STv2KzPdpOnIxkkvjQ/Kbb3NR392j35DumaUop29nUkArrL1FiuuKODEXWWSjnVd80Av 1gsKK0RmuL0S+5oexg2ly2klZLmhynXFGWrHqlqVEOsOY+la9AEixVomdV5jrjZntBE0 W065B4lW56jrD3nG4Hv+1cxCBmg2yA0SGHDxYfv5vq8ruTKYvdXdt0Y/ZOpX+XowwhKJ fXFYKCx7Xq9rSw2wBzDbWHCFLeHKm/L4+03WLLh3PceiT+kpanywOyT45/f3Rug7bmdT TL9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=+deXELrnoVDNqUX4fpS2ceLWzrfBTLe0dQjO/hrjzP0=; b=OsoRne4p/FytBIuxxlY8NaA5u2TNIIEEpnNfp4qBBtNHGt4V1ffM5poOCbl0O4V0Lh j0fpINiq6PCgpQfHThcf+x5iVEZ/UD9rsH+70dQ9kaH0o99bW2l9+8yhje1JzzMEA9He fEWXFI0SZfQCfGy0C+IxVml83IdqGkRPk4MsWt7FviF4kUl83rhtAqtvRjovuqwgu6ag os35w0THrkOwORxRQGWHyD/A1rH4OAGA9go0TTZvQ8TLX9K4pjcPWGbUaRf0/KokTVF7 9XIaMYsQ2c5qfxdkKg1BCIYslz+f9/VUEHMYGLsglkVOKP+LOgG44ddjzt24BmstPo+H vbUA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d7si4769800ejk.598.2020.10.25.02.33.20; Sun, 25 Oct 2020 02:33:43 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767075AbgJYFar (ORCPT + 99 others); Sun, 25 Oct 2020 01:30:47 -0400 Received: from mga12.intel.com ([192.55.52.136]:57204 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390332AbgJYFar (ORCPT ); Sun, 25 Oct 2020 01:30:47 -0400 IronPort-SDR: roVLaPsccHjPrP0y/OFFQ8FdQOHw0HklyDmpaVtJbpYHVodY1jMfE0BT9FvvvB0sDxrUMr127C I6uby+z1rPsw== X-IronPort-AV: E=McAfee;i="6000,8403,9784"; a="147103834" X-IronPort-AV: E=Sophos;i="5.77,414,1596524400"; d="scan'208";a="147103834" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2020 22:30:46 -0700 IronPort-SDR: UqOdMLpqeaOJGRdmFtchIX7fm31n+hGQHCbX4LZQi8RbkzJGrpwKZeKY8xGIIc1SlqSSAiA39G fMPzU6lzAXWQ== X-IronPort-AV: E=Sophos;i="5.77,414,1596524400"; d="scan'208";a="317516426" Received: from tassilo.jf.intel.com ([10.54.74.11]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2020 22:30:46 -0700 Date: Sat, 24 Oct 2020 22:30:45 -0700 From: Andi Kleen To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Ingo Molnar , Peter Zijlstra , Mark Rutland , Alexander Shishkin , LKML , Stephane Eranian , Ian Rogers Subject: Re: [PATCH 1/2] perf test: Use generic event for expand_libpfm_events() Message-ID: <20201025053045.GV466880@tassilo.jf.intel.com> References: <20201024025918.453431-1-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201024025918.453431-1-namhyung@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 24, 2020 at 11:59:17AM +0900, Namhyung Kim wrote: > I found that the UNHALTED_CORE_CYCLES event is only available in the > Intel machines and it makes other vendors/archs fail on the test. As > libpfm4 can parse the generic events like cycles, let's use them. > > Fixes: 40b74c30ffb9 ("perf test: Add expand cgroup event test") > Signed-off-by: Namhyung Kim So would the test still fail when libpfm is not compiled in? -Andi