From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754840AbdBGPGT (ORCPT ); Tue, 7 Feb 2017 10:06:19 -0500 Received: from mail.skyhub.de ([78.46.96.112]:54937 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754134AbdBGPGR (ORCPT ); Tue, 7 Feb 2017 10:06:17 -0500 Date: Tue, 7 Feb 2017 16:06:10 +0100 From: Borislav Petkov To: Ingo Molnar Cc: Robert Richter , Arnaldo Carvalho de Melo , Peter Zijlstra , Vince Weaver , lkml Subject: Re: [RFC PATCH] perf/stat: Add --disable-hwdt Message-ID: <20170207150610.k7aptdiqtpxqd6dp@pd.tnic> References: <20170206121506.mtknwusus4djp2sx@pd.tnic> <20170206122231.GA9404@gmail.com> <20170206124116.7jmrmufthqtnd3dc@pd.tnic> <20170206124447.GA12772@gmail.com> <20170206124937.zlowglr5gpq35piy@pd.tnic> <20170206131832.GG4906@rric.localdomain> <20170206132349.bl6qbpjflez3lpkp@pd.tnic> <20170207072512.GB18584@gmail.com> <20170207105412.yrvnd3ks42jjtrtg@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170207105412.yrvnd3ks42jjtrtg@pd.tnic> User-Agent: NeoMutt/20161014 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Btw, I'm wondering if, alternatively, we add this to the manpage of perf stat and be done with it: "Remember to turn off HW watchdog temporarily as it is taking up one hw counter: $ echo 0 > /proc/sys/kernel/nmi_watchdog ... perf workload $ echo 1 > /proc/sys/kernel/nmi_watchdog in case some of the specified events don't get counted." This solves the problem rather simply :-))) -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.