[PATCH] afs: fix tracepoint string placement with built-in AFS

David Howells dhowells at redhat.com
Tue Jun 15 01:19:59 PDT 2021


Alexey Dobriyan <adobriyan at gmail.com> wrote:

> -	char afs_SRXCB##name##_name[] __tracepoint_string =	\
> -		"CB." #name

I seem to remember that when I did this, it couldn't be a const string for
some reason, though I don't remember exactly why now if that was indeed the
case.

I wonder if it's better just to turn it into an enum-string table in
linux/events/afs.h.

David




More information about the linux-afs mailing list