bcachefs: Better bucket alloc tracepoints
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 4 May 2024 20:46:29 +0000 (16:46 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 8 May 2024 21:29:24 +0000 (17:29 -0400)
commit40574946b8a5179ed811bc9783d21bed302eb949
tree71f6d1044d104a30fa445878a5da936cd01078c1
parent62025697778cb5ca6173b3e52d7e7270edc65a2c
bcachefs: Better bucket alloc tracepoints

Tracepoints are garbage, and perf trace even cuts off some of our
fields.

Much nicer to just trace a string, and then we can build nicely
formatted output with printbufs.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_foreground.c
fs/bcachefs/trace.h