Karsten Blees <karsten.bl...@gmail.com> writes:
> + * Macros to add file:line - see above for C-style declarations of how these
> + * should be used.
> + *
> + * TRACE_CONTEXT may be set to __FUNCTION__ if the compiler supports it. The
> + * default is __FILE__, as it is consistent with assert(), and static
> + * names are not necessarily unique.
> + */
> +#define TRACE_CONTEXT __FILE__
Hmph, seeing "may be set to" forces me to wonder how. Perhaps #ifndef/#endif
Also, can it be set to something like __FILE__ ":" __FUNCTION__
which may alleviate the alleged problem of "not necessarily unique"
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html