Re: [PATCH 1/3] DEBUGFS: Automatically create parents for debugfsfiles v2

From: Andi Kleen
Date: Tue Dec 13 2011 - 17:28:11 EST


> Hi Andi, is it possible to do say kstrdup or something instead of

It's possible, just would add complexity with an additional
error path.

> variable-size array in fn[strlen(name) + 1] ? As far as I remember
> we already had some warnings with them at least in perf land (or
> trace land). Or I miss something?

Not aware of any problems with tracing or perf. I like them at least.

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
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/