From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752199AbdKOAsu (ORCPT ); Tue, 14 Nov 2017 19:48:50 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:49447 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752580AbdKOAso (ORCPT ); Tue, 14 Nov 2017 19:48:44 -0500 X-Google-Smtp-Source: AGs4zMZm7mf+5PIVE/zamZDejGm7oNGNjisqUoKN/wip6eI5w7m7tJRrApfpRIvM6VbV4BA1EnDVrw== Date: Wed, 15 Nov 2017 09:48:38 +0900 From: Sergey Senozhatsky To: Mark Salyzyn Cc: Petr Mladek , Linus Torvalds , Thomas Gleixner , LKML , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Andrew Morton , Prarit Bhargava , Sergey Senozhatsky , Steven Rostedt Subject: Re: [GIT pull] printk updates for 4.15 Message-ID: <20171115004838.GA822@jagdpanzerIV> References: <20171114100336.uil744pxmbsawq63@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Mark, On (11/14/17 07:56), Mark Salyzyn wrote: [..] > Thanks for the vote of confidence :-) but we were holding back re spinning > that set until the ability to switch the primary timestamp got accepted. (we > were to use U suffix for realtime, B for boottime etc to designate them). > > Printing the other timebases during major disruptions (suspend/resume/etc) > was needed for our battery monitoring analysis tools, and we only used them > as synchronization markers as a secondary effect. > > But we _also_ had Android partners asking if it was possible to switch the > primary (dmesg) timestamp to one of boottime or realtime to aid in triaging > temporal issues. Doing so in the tool was sometimes too inaccurate > (~+/-20ms) even with help sniffing the periodic synchronization/disruption > prints. Switching the timebase for dmesg gave us roughly 1000 times more > comparative time precision which helps immensely when trying to correlate > and order the sequence of events in user space and kernel activities. have you considered trace points? -ss