Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932165AbbEHT3P (ORCPT ); Fri, 8 May 2015 15:29:15 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:27055 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753038AbbEHT3N (ORCPT ); Fri, 8 May 2015 15:29:13 -0400 From: Josef Bacik To: , , Subject: [PATCH 0/5] trace-cmd profile enhancements Date: Fri, 8 May 2015 15:28:59 -0400 Message-ID: <1431113344-22579-1-git-send-email-jbacik@fb.com> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.52.13] X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-05-08_07:2015-05-08,2015-05-08,1970-01-01 signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1169 Lines: 25 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 -- 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/