[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131125182139.GD20168@ghostprotocols.net>
Date: Mon, 25 Nov 2013 15:21:39 -0300
From: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
To: Stanislav Fomichev <stfomichev@...dex-team.ru>
Cc: Chia-I Wu <olvaffe@...il.com>, a.p.zijlstra@...llo.nl,
paulus@...ba.org, mingo@...hat.com, linux-kernel@...r.kernel.org,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [PATCH] perf timechart: remove lock_depth from trace_entry
Em Tue, Oct 22, 2013 at 02:32:23PM +0400, Stanislav Fomichev escreveu:
> On Mon, Oct 07, 2013 at 02:48:34PM +0800, Chia-I Wu wrote:
> > struct trace_entry went out-of-sync with the kernel since
> >
> > commit b000c8065 "tracing: Remove the extra 4 bytes of padding in events"
> >
> > causing "perf timechart" to be broken.
> >
> > Signed-off-by: Chia-I Wu <olvaffe@...il.com>
> Reviewed-by: Stanislav Fomichev <stfomichev@...dex-team.ru>
>
> For some reason nobody noticed this patch on lkml, so resending to the
> maintainers...
> This also makes sense to merge it into the stable line.
This makes the new tool stop processing old files, can you try the patch
attached instead?
Its only compile tested tho.
- Arnaldo
> > ---
> > tools/perf/builtin-timechart.c | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c
> > index c2e0231..f9cbc18 100644
> > --- a/tools/perf/builtin-timechart.c
> > +++ b/tools/perf/builtin-timechart.c
> > @@ -303,7 +303,6 @@ struct trace_entry {
> > unsigned char flags;
> > unsigned char preempt_count;
> > int pid;
> > - int lock_depth;
> > };
> >
> > #ifdef SUPPORT_OLD_POWER_EVENTS
> > --
> > 1.8.3.1
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
View attachment "lock_depth_removal.patch" of type "text/plain" (4889 bytes)
Powered by blists - more mailing lists