Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751132AbdCPCeh (ORCPT ); Wed, 15 Mar 2017 22:34:37 -0400 Received: from mail-io0-f182.google.com ([209.85.223.182]:36544 "EHLO mail-io0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbdCPCef (ORCPT ); Wed, 15 Mar 2017 22:34:35 -0400 MIME-Version: 1.0 In-Reply-To: <20170315174456.GN12825@kernel.org> References: <1489561041-19778-1-git-send-email-eranian@google.com> <20170315135059.GC2177@redhat.com> <20170315135822.GJ12825@kernel.org> <20170315174456.GN12825@kernel.org> From: Stephane Eranian Date: Wed, 15 Mar 2017 19:27:30 -0700 Message-ID: Subject: Re: [PATCH] perf/record: make perf_event__synthesize_mmap_events() scale To: Arnaldo Carvalho de Melo Cc: Arnaldo Carvalho de Melo , LKML , Peter Zijlstra , Ingo Molnar , Jiri Olsa , namhyung.kim@kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1051 Lines: 32 Arnaldo, On Wed, Mar 15, 2017 at 10:44 AM, Arnaldo Carvalho de Melo wrote: > > Em Wed, Mar 15, 2017 at 10:08:27AM -0700, Stephane Eranian escreveu: > > On Wed, Mar 15, 2017 at 6:58 AM, Arnaldo Carvalho de Melo > > wrote: > > > Em Wed, Mar 15, 2017 at 10:50:59AM -0300, Arnaldo Carvalho de Melo escreveu: > > >> So, fixing up the "tasks" -> "tasks" we end up with something safe and > > >> that avoids this by now > > > > > > "tasks" -> "task", grrr > > > > > Oops, yeah, sorry about that. > > Let me submit a V2 with the fix. > > Ok, but what about the other observations, what is the kernel you're > using? > Ok, yeah, I was using an older kernel which still had [stack:tid] annotations. With more recent kernel, it seems this optimization is not needed. I guess it would only be useful to people running a new perf on a older kernel. > > I think this will not make any difference for any kernel >= 4.9, which > isn't to say the patch shouldn't be applied, I'm just curious. > correct, see above. > > - Arnaldo