Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

locking: export contention tracepoints for bcachefs six locks

The bcachefs implementation of six locks is intended to land in
generic locking code in the long term, but has been pulled into the
bcachefs subsystem for internal use for the time being. This code
lift breaks the bcachefs module build as six locks depend a couple
of the generic locking tracepoints. Export these tracepoint symbols
for bcachefs.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

authored by

Brian Foster and committed by
Kent Overstreet
957e4808 21db9314

+3
+3
kernel/locking/mutex.c
··· 1126 1126 #endif /* !CONFIG_DEBUG_LOCK_ALLOC */ 1127 1127 #endif /* !CONFIG_PREEMPT_RT */ 1128 1128 1129 + EXPORT_TRACEPOINT_SYMBOL_GPL(contention_begin); 1130 + EXPORT_TRACEPOINT_SYMBOL_GPL(contention_end); 1131 + 1129 1132 /** 1130 1133 * atomic_dec_and_mutex_lock - return holding mutex if we dec to 0 1131 1134 * @cnt: the atomic which we are to dec