Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753647Ab1BSJdQ (ORCPT ); Sat, 19 Feb 2011 04:33:16 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:40435 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752802Ab1BSJdN (ORCPT ); Sat, 19 Feb 2011 04:33:13 -0500 Date: Sat, 19 Feb 2011 10:32:16 +0100 From: Ingo Molnar To: David Ahern Cc: Peter Zijlstra , Frederic Weisbecker , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, acme@ghostprotocols.net, paulus@samba.org, Thomas Gleixner , Arnaldo Carvalho de Melo Subject: Re: [PATCH 3/3] perf events: add timehist option to record and report Message-ID: <20110219093216.GA30331@elte.hu> References: <1298008433-22911-1-git-send-email-daahern@cisco.com> <1298008433-22911-4-git-send-email-daahern@cisco.com> <20110218070657.GA11404@elte.hu> <4D5E8204.2090501@cisco.com> <20110218175926.GA3445@nowhere> <4D5EB564.6030504@cisco.com> <1298054399.5226.779.camel@laptop> <4D5EBE2C.7000701@cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D5EBE2C.7000701@cisco.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 788 Lines: 22 * David Ahern wrote: > On 01/23/11 at 03:45:67 a syslog event noted an application restart. > Checking the applications logs it went silent. Why? What does perf say? > > Oh, 2 days have gone by before said event is reported to engineering, > and the server was been rebooted to 'clear' the problem - hence > resetting monotonic clock. I think that's a valid usecase and the feature you are suggestion is very useful. Why not extend the regular trace output to also (optionally) output GTOD timestamps? Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/