Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932298AbbEHUNQ (ORCPT ); Fri, 8 May 2015 16:13:16 -0400 Received: from smtprelay0140.hostedemail.com ([216.40.44.140]:33696 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753320AbbEHUNN (ORCPT ); Fri, 8 May 2015 16:13:13 -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:2198:2199:2393:2553:2559:2562:2731:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3874:4362:5007:6117:6119:6120:6261:7774:7875:7903:9040:10004:10400:10562:10848:10967:11232:11658:11914:12050:12517:12519:12740:13069:13311:13357:13618:14096:14097:21080,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 X-HE-Tag: tree01_9020c15822b16 X-Filterd-Recvd-Size: 2051 Date: Fri, 8 May 2015 16:13:09 -0400 From: Steven Rostedt To: Josef Bacik Cc: , Subject: Re: [PATCH 0/5] trace-cmd profile enhancements Message-ID: <20150508161309.0f520772@gandalf.local.home> In-Reply-To: <1431113344-22579-1-git-send-email-jbacik@fb.com> References: <1431113344-22579-1-git-send-email-jbacik@fb.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; 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: 1462 Lines: 38 On Fri, 8 May 2015 15:28:59 -0400 Josef Bacik wrote: > I had to use trace-cmd profile to debug a regression with hhvm recently. These > are the patches I needed to make trace-cmd profile useful to me. There are a > few changes in here > > 1) Adding --merge to trace-cmd profile. This merges events for like comms > together. HHVM is a huge app that spawns worker threads to handle requests, I > needed all of this data in one place to see how the app as a whole was behaving, > --merge provides this. > > 2) Fixup the output formatting. I also wanted to see which syscalls were taking > the longest but this was hard because we were just spitting out the syscall > number and it wasn't in any order, so now all the events are ordered based on > time taken and the syscall names are printed instead of the number. > > 3) Random trace-cmd hist fix, because it didn't work right with instances. > > I've been using these in production for a couple of weeks now and they seem to > work well. Thanks, > Josef, Thanks a lot! I really appreciate this. I'll take a look at it next week as I have other things on my plate for today. Ping me if I somehow forget to do so. Thanks again, -- Steve -- 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/