From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756226AbcA2Ocl (ORCPT ); Fri, 29 Jan 2016 09:32:41 -0500 Received: from smtprelay0004.hostedemail.com ([216.40.44.4]:37162 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751880AbcA2Ocj (ORCPT ); Fri, 29 Jan 2016 09:32:39 -0500 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:981:988:989:1183:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2195:2199:2393:2553:2559:2562:2693:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:5007:6261:6742:7875:7903:8603:10004:10400:10450:10455:10848:10967:11026:11232:11658:11914:12043:12517:12519:12740:13069:13311:13357:14096:14097:14130:14659:19904:19999:21080:30034:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: game48_8b2ebc8b7de0d X-Filterd-Recvd-Size: 2503 Date: Fri, 29 Jan 2016 09:32:35 -0500 From: Steven Rostedt To: Thomas Gleixner Cc: Dmitry Vyukov , Oleg Nesterov , Andrew Morton , Richard Weinberger , "Amanieu d'Antras" , Chris Metcalf , Andy Lutomirski , Davidlohr Bueso , Vladimir Davydov , Palmer Dabbelt , LKML , Ingo Molnar , "H. Peter Anvin" Subject: Re: WARNING in set_restore_sigmask Message-ID: <20160129093235.22532397@gandalf.local.home> In-Reply-To: References: X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.29; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 29 Jan 2016 15:10:18 +0100 (CET) Thomas Gleixner wrote: > The time depends on the serial speed and the trace buffer size and the number > of cpus. Don't worry about the uptime. The buffer is a ringbuffer with limited > capacity, so the dump time is constant. > > If you want that /proc/sys/kernel/ftrace_dump_on_oops spills out on warnings > as well, you need to enable > > /proc/sys/kernel/traceoff_on_warning > /proc/sys/kernel/ftrace_dump_on_oops > > and > > /proc/sys/kernel/panic_on_warn > > because we do not dump on warnings. To save time in the wait, you may also want to do: # echo 50 > /sys/kernel/debug/tracing/buffer_size_kb which will make each per cpu buffer 50 kb, instead of the default of a meg each. That will cut down the time to spit out the ftrace buffer to serial console, but it wont have as much data. 50 kb should be enough to trace back to the problem point though. -- Steve