RE: [PATCH] acpi: remove function tracing macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Len,

On Mon, 2006-01-16 at 13:14 -0500, Brown, Len wrote:
> >This patch removes function tracing macro usage from drivers/acpi/. In
> >particular, ACPI_FUNCTION_TRACE are ACPI_FUNCTION_NAME removed 
> >completely and return_VALUE, return_PTR, and return_ACPI_STATUS
> >are converted with proper use of return.
> 
> I'm sorry, I can't apply this source clean-up patch.
> 
> We need tracing to debug interpreter failures on hardware
> in the field.

I appreciate that but per-function tracing is overkill. Especially since
the macros used for it are very obfuscating (i.e. return_VALUE, et al)
and we have things like kprobes.

On Mon, 2006-01-16 at 13:14 -0500, Brown, Len wrote:
> When we make GPL changes to those files, we diverge
> from the rest of the universe and the overloaded
> Linux/ACPI maintainer (me) starts to lose his sanity.
> That said, if the author of the patch re-licenses it back
> to Intel so it can be distributed under eitiher GPL or BSD,
> then Intel can apply a change "up-stream" and divergence
> can be avoided.  But per above, that isn't the primary
> issue with ripping out tracing.
> 
> Note that tracing is built in only for CONFIG_ACPI_DEBUG.

My main concern is that the ACPI subsystem uses obfuscating macros to
implement function tracing in the kernel. Please note that we do not
allow this in new code and there are janitor such as myself that are
working to remove the existing ones.

While I have no intention of making your life as Linux maintainer
harder, I would appreciate if you would at least consider ripping out
function tracing from upstream. I am certainly willing to relicense or
even transfer copyrights of the patch if that's what you need.

			Pekka

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux