From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752995AbbCXVMq (ORCPT ); Tue, 24 Mar 2015 17:12:46 -0400 Received: from mail-ob0-f182.google.com ([209.85.214.182]:35278 "EHLO mail-ob0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752293AbbCXVMo (ORCPT ); Tue, 24 Mar 2015 17:12:44 -0400 Message-ID: <5511D349.7070508@gmail.com> Date: Tue, 24 Mar 2015 15:12:41 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Don Zickus CC: acme@kernel.org, linux-kernel@vger.kernel.org, Jiri Olsa , jmario@redhat.com Subject: Re: [PATCH] perf tool: Fix ppid for synthesized fork events References: <1426786875-18025-1-git-send-email-dsahern@gmail.com> <20150319205648.GC199787@redhat.com> <550B3A66.2030902@gmail.com> <20150324201020.GH199787@redhat.com> In-Reply-To: <20150324201020.GH199787@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/24/15 2:10 PM, Don Zickus wrote: > He does this with and without the patch. The difference is usually over 50% > extra time with the patch for both the record timings and report timings.:-( I find that shocking. The patch only populates ppid and ptid with a value read from the file that is already opened and processed. Most of the patch is just plumbing the value from the low level function that processes the status file back to synthesize_fork. What benchmark is this? Is it something I can download and run? if so, details? site, command, args? Thanks, David