From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755471AbbCSN4g (ORCPT ); Thu, 19 Mar 2015 09:56:36 -0400 Received: from mail-ig0-f181.google.com ([209.85.213.181]:34994 "EHLO mail-ig0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157AbbCSN4e (ORCPT ); Thu, 19 Mar 2015 09:56:34 -0400 Message-ID: <550AD590.9090904@gmail.com> Date: Thu, 19 Mar 2015 07:56:32 -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: Arnaldo Carvalho de Melo , Jiri Olsa , LKML Subject: Re: perf: thread is its own parent References: <550A10B1.9080701@gmail.com> <20150319132048.GB162412@redhat.com> In-Reply-To: <20150319132048.GB162412@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/19/15 7:20 AM, Don Zickus wrote: > Honestly I don't recall. The commit log tells you the problem I was trying > to solve. Instead of parsing text strings from/proc/maps/, I believe > it was waaaay faster to copy the thread maps. > > This could have been an oversight. I might have falsely assumed tgid == > ppid? > > Are you finding a problem with it? rebasing my scheduling timehist command to 4.0 and this change breaks one of the options. If there are no objections I'll send a patch along with others to set ptid and ppid to -1 (that's what it is in 3.12). Thanks, David