From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933124AbcE3LcO (ORCPT ); Mon, 30 May 2016 07:32:14 -0400 Received: from smtprelay4.synopsys.com ([198.182.47.9]:40537 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933060AbcE3LcM (ORCPT ); Mon, 30 May 2016 07:32:12 -0400 From: Vineet Gupta To: CC: , , , , , , , Vineet Gupta Subject: [PATCH-REBASED 0/2] report perf sampling failing due to PMU lacking overflow intr support Date: Mon, 30 May 2016 17:01:44 +0530 Message-ID: <1464607906-16012-1-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.12.197.158] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is a repost of RFC [1], rebased on 4.7-rc1, to print pretty PMU lacking overflow interrupt support if user tries perf sampling. At the time of RFC review, both PeterZ and Vince seemed convinced to go ahead with this patch despite the ABI change [2]. Thx, -Vineet [1] http://lists.infradead.org/pipermail/linux-snps-arc/2016-May/001014.html [2] http://lists.infradead.org/pipermail/linux-snps-arc/2016-May/001032.html Vineet Gupta (2): tools/perf: Handle EOPNOTSUPP for sampling events perf/core: change errno for sampling event not supported in hardware kernel/events/core.c | 2 +- tools/perf/util/evsel.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) -- 2.5.0