Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758249AbcC2Vtg (ORCPT ); Tue, 29 Mar 2016 17:49:36 -0400 Received: from smtprelay0145.hostedemail.com ([216.40.44.145]:59732 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753985AbcC2Vte (ORCPT ); Tue, 29 Mar 2016 17:49:34 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2689:2693:2892:2895:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3874:4250:5007:6261:7556:7875:7903:10004:10400:10848:10967:11232:11658:11914:12296:12517:12519:12663:12740:13069:13149:13161:13229:13230:13311:13357:13439:14096:14097:14181:14659:14721:21080:30054:30070:30075: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: house37_19146cfad1c4e X-Filterd-Recvd-Size: 3136 Date: Tue, 29 Mar 2016 17:49:30 -0400 From: Steven Rostedt To: Peter Zijlstra Cc: Daniel Bristot de Oliveira , Ingo Molnar , Thomas Gleixner , Juri Lelli , Arnaldo Carvalho de Melo , LKML , linux-rt-users Subject: Re: [PATCH V2 3/3] sched/deadline: Tracepoints for deadline scheduler Message-ID: <20160329174930.3b445608@gandalf.local.home> In-Reply-To: <20160329210343.GP3408@twins.programming.kicks-ass.net> References: <14f6caa05f73ceba69eff035ac542cad671552b3.1459182044.git.bristot@redhat.com> <20160329151649.GA12845@twins.programming.kicks-ass.net> <20160329115700.40acb336@gandalf.local.home> <20160329160401.GB3430@twins.programming.kicks-ass.net> <20160329131056.5b01780b@gandalf.local.home> <20160329201145.GC3430@twins.programming.kicks-ass.net> <20160329162907.418cb972@gandalf.local.home> <56FAEC3D.1070300@redhat.com> <20160329210343.GP3408@twins.programming.kicks-ass.net> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; 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 Content-Length: 1543 Lines: 37 On Tue, 29 Mar 2016 23:03:43 +0200 Peter Zijlstra wrote: > > And any change on it, now and in the future, will cause confusion for > > 99.999% of raw sched_switch users. > > Sod that, this attitude makes me want to rip out all sched tracepoints. > > > Without considering those who wrote bad applications that will break, > > That's bonus points, right? > > I'm seriously annoyed with this hard ABI for tracepoints crap. No need. Userspace tools that use tracepoints should be able to be fixed. Linus has been a bit lenient with respect to tracepoint breakage, if we can get tools updated before we change them. He's mentioned that tracepoints are a bit special because they are so tied to the internals of the kernel, and those tools that read them, should be a bit tied to the kernel as well. But we need to make sure those tools still work with updates. Thus we need to work with the tools that might break. That also means that if there's bad applications that will break, they should be fixed. With that. I'm not concerned at all about users being inconvenienced that tracepoint data isn't what they want to see, as long as they can get the information out that they do need. A tool can always massage the tracepoints into whatever nice formality that users expect. Wasted space is a concern to me because that means lack of data, which is what I don't want. Confusing data can be changed by userspace to be less confusing. Missing data is gone and there's nothing userspace can do about it. -- Steve