bcachefs: Fix slow tracepoints
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 16 Feb 2022 05:42:34 +0000 (00:42 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:24 +0000 (17:09 -0400)
commit4b59a319ad29815aa8f629513df2c291c2108bf9
tree083614299dc2b9c0942a91d2ecc11055e5245c85
parenteb331fe5a4e801dc11d96ba7fbda0a91c8bd626c
bcachefs: Fix slow tracepoints

Some of our tracepoints were calling snprintf("pS") - which does symbol
table lookups - in TP_fast_assign(), which turns out to be a really bad
idea.

This was done because perf trace wasn't correctly printing tracepoints
that use %pS anymore - but it turns out trace-cmd does handle it
correctly.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/trace.h