Re: ftrace scripts and make V=1
From: Sam Ravnborg
Date: Wed Aug 05 2009 - 04:09:11 EST
On Wed, Aug 05, 2009 at 05:23:26PM +1000, Dave Airlie wrote:
> Hey,
>
> So I spent 3-4 hrs today (I'm stupid yes) tracking down a .o breakage by
> blaming rawhide gcc/binutils as I was using make V=1and seeing only the
> compiler chain running,
>
> However some ftrace script was sneaking in afterwards
> and screwing up the .o without mentioning itself.
>
> Surely V=1 should print all these shitty scripts its running?
The problem is that V=1 is already too chatty,
so people sometimes hide their stuff - as in this case.
I have for some time thought about adding some option
so we can select between:
- less chatty than today - but print the usefull stuff
- full debug - print almost everything
It is not that this is hard to implment.
But I never have made up my mind how to enable this.
V=1 - could be the "less chatty" mode
V=2 - could be the "full debug mode"
But we already use "V=2" to tell what caused a file to be rebuild.
This is on the other hand very seldomly used so we could get
away with a new way to request this.
So we limit V=n to select between different verbosity levels.
What do you think?
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/