Re: [PATCH v2 0/7] Copy hashmap to tools/perf/util, use in perf expr

2020-05-15 Thread arnaldo . melo
,Stephane Eranian From: Arnaldo Carvalho de Melo Message-ID: <79bcbaf7-bf5f-4556-a923-56e9d82fb...@gmail.com> On May 15, 2020 4:42:46 PM GMT-03:00, Andrii Nakryiko wrote: >On Fri, May 15, 2020 at 10:01 AM Arnaldo Carvalho de Melo > wrote: >> >> Em Fri, May 15, 2020 at 09:50:00AM -0700, Ian R

Re: [PATCH] perf tools: Replace zero-length array with flexible-array

2020-05-11 Thread Arnaldo Melo
On May 11, 2020 4:56:43 PM GMT-03:00, "Gustavo A. R. Silva" wrote: >The current codebase makes use of the zero-length array language >extension to the C90 standard, but the preferred mechanism to declare >variable-length types such as these ones is a flexible array >member[1][2], >introduced i

Re: [PATCH] perf script: Replace zero-length array with flexible-array

2020-05-11 Thread Arnaldo Melo
On May 11, 2020 2:26:20 PM GMT-03:00, "Gustavo A. R. Silva" wrote: >On Mon, May 11, 2020 at 12:48:12PM -0300, Arnaldo Carvalho de Melo >wrote: >> Em Thu, May 07, 2020 at 02:06:15PM -0500, Gustavo A. R. Silva >escreveu: >> > The current codebase makes use of the zero-length array language >> >

Re: [PATCH 00/19] perf: ftrace enhancement

2020-05-10 Thread Arnaldo Melo
On May 10, 2020 12:23:36 PM GMT-03:00, Steven Rostedt wrote: >On Sun, 10 May 2020 23:06:09 +0800 >Changbin Du wrote: > >> The perf has basic kernel ftrace support but lack support of most >tracing >> options. This serias is target to enhance the perf ftrace >functionality so >> that we can ma

Re: [PATCH 5/8] perf evlist: Allow reusing the side band thread for more purposes

2020-05-01 Thread Arnaldo Melo
On May 1, 2020 8:25:52 AM GMT-03:00, Jiri Olsa wrote: >On Wed, Apr 29, 2020 at 10:11:03AM -0300, Arnaldo Carvalho de Melo >wrote: >> From: Arnaldo Carvalho de Melo >> >> I.e. so far we had just one event in that side band thread, a dummy >one >> with attr.bpf_event set, so that 'perf record'

Re: [PATCH -next] perf script: remove unneeded conversion to bool

2020-04-28 Thread Arnaldo Melo
On April 28, 2020 6:58:46 PM GMT-03:00, Joe Perches wrote: >On Tue, 2020-04-28 at 14:50 -0300, Arnaldo Carvalho de Melo wrote: >> Em Sun, Apr 26, 2020 at 08:31:05PM +0800, Zou Wei escreveu: >> > This issue was detected by using the Coccinelle software: >> > >> > tools/perf/builtin-script.c:328

Re: [PATCH] perf session: Add option to copy events when queueing

2013-10-24 Thread Arnaldo Melo
Em Thu, Oct 24, 2013 at 02:12:29PM +0100, David Ahern escreveu: > On 10/24/13 1:27 PM, Arnaldo Melo wrote: > The driving use case is my perf-daemon: > https://github.com/dsahern/linux/blob/perf-sched-timehist-3.11/tools/perf/schedmon.c, > line 271. > > Rather than have the p

Re: [PATCH] perf session: Add option to copy events when queueing

2013-10-24 Thread Arnaldo Melo
Em Thu, Oct 24, 2013 at 11:23:32AM +0100, David Ahern escreveu: > On 10/24/13 10:30 AM, Frederic Weisbecker wrote: > >Bah, checking that again, there don't seem to be a bug there. Actually > >the sample buffer is reset after we pick the last entry. So it looks > >all fine. I got confused as usual.