lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 14 Apr 2009 18:04:04 -0400 (EDT)
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Frederic Weisbecker <fweisbec@...il.com>
cc:	linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Peter Zijlstra <peterz@...radead.org>,
	Theodore Tso <tytso@....edu>,
	Arjan van de Ven <arjan@...radead.org>,
	Christoph Hellwig <hch@....de>,
	Mathieu Desnoyers <compudj@...stal.dyndns.org>,
	Jeremy Fitzhardinge <jeremy@...p.org>,
	Lai Jiangshan <laijs@...fujitsu.com>,
	Zhaolei <zhaolei@...fujitsu.com>, Li Zefan <lizf@...fujitsu.com>,
	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	Masami Hiramatsu <mhiramat@...hat.com>,
	"Frank Ch. Eigler" <fche@...stic.org>,
	Tom Zanussi <tzanussi@...il.com>,
	Jiaying Zhang <jiayingz@...gle.com>,
	Michael Rubin <mrubin@...gle.com>,
	Martin Bligh <mbligh@...gle.com>,
	Jason Baron <jbaron@...hat.com>,
	Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Subject: Re: [PATCH 1/8] tracing: consolidate trace and trace_event headers


On Tue, 14 Apr 2009, Frederic Weisbecker wrote:

> On Tue, Apr 14, 2009 at 01:23:38PM -0400, Steven Rostedt wrote:
> > From: Steven Rostedt <srostedt@...hat.com>
> > 
> > Impact: clean up
> > 
> > Neil Horman (et. al.) criticized the way the trace events were broken up
> > into two files. The reason for that was that ftrace needed to separate out
> > the declarations from where the #include <linux/tracepoint.h> was used.
> > It then dawned on me that the tracepoint.h header only needs to define the
> > TRACE_EVENT macro if it is not already defined.
> > 
> > The solution is simply to test if TRACE_EVENT is defined, and if it is not
> > then the linux/tracepoint.h header can define it. This change consolidates
> > all the <traces>.h and <traces>_event_types.h into the <traces>.h file.
> > 
> > Reported-by: Neil Horman <nhorman@...driver.com>
> > Reported-by: Theodore Tso <tytso@....edu>
> > Reported-by: Jiaying Zhang <jiayingz@...gle.com>
> > Cc: Zhaolei <zhaolei@...fujitsu.com>
> > Cc: Frederic Weisbecker <fweisbec@...il.com>
> > Cc: Peter Zijlstra <peterz@...radead.org>
> > Cc: Jason Baron <jbaron@...hat.com>
> > Cc: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
> > Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
> > ---
> >  include/linux/tracepoint.h          |    9 +-
> >  include/trace/irq.h                 |   51 +++++-
> >  include/trace/irq_event_types.h     |   55 ------
> >  include/trace/kmem.h                |  189 +++++++++++++++++++-
> >  include/trace/lockdep.h             |   52 +++++-
> >  include/trace/lockdep_event_types.h |   57 ------
> >  include/trace/sched.h               |  333 ++++++++++++++++++++++++++++++++++-
> >  include/trace/sched_event_types.h   |  337 -----------------------------------
> >  include/trace/skb.h                 |   36 ++++-
> >  include/trace/skb_event_types.h     |   38 ----
> >  include/trace/trace_event_types.h   |    7 -
> >  kernel/trace/events.c               |    1 +
> >  kernel/trace/trace_events_stage_1.h |    4 +-
> >  kernel/trace/trace_events_stage_2.h |    8 +-
> >  kernel/trace/trace_events_stage_3.h |    4 +-
> >  15 files changed, 663 insertions(+), 518 deletions(-)
> >  delete mode 100644 include/trace/irq_event_types.h
> >  delete mode 100644 include/trace/lockdep_event_types.h
> >  delete mode 100644 include/trace/sched_event_types.h
> >  delete mode 100644 include/trace/skb_event_types.h
> >  delete mode 100644 include/trace/trace_event_types.h
> 
> 
> 
> I don't know if you use git-format-patch without -M or
> something else specific to git pull request. But it looks
> like the renames are not detected here, so it's a bit
> hard to know what have been actually happened or deleted
> in the end result.
> 

Hmm, good point. I use git format-patch with no options and then use quilt 
to send the emair. I always want the patches to work with quilt, thus I 
avoid anything git specific.

My repo is public, so anyone can still look at it and run any git command 
they want.

-- Steve

--
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/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ