mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Retire legacy debugging infrastructure
When the SPL was originally written Linux tracepoints were still in their infancy. Therefore, an entire debugging subsystem was added to facilite tracing which served us well for many years. Now that Linux tracepoints have matured they provide all the functionality of the previous tracing subsystem. Rather than maintain parallel functionality it makes sense to fully adopt tracepoints. Therefore, this patch retires the legacy debugging infrastructure. See zfsonlinux/zfs@bc9f413 for the tracepoint changes. Signed-off-by: Ned Bass <bass6@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #408
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
#ifndef _SPLAT_INTERNAL_H
|
||||
#define _SPLAT_INTERNAL_H
|
||||
|
||||
#include "spl-debug.h"
|
||||
#include "splat-ctl.h"
|
||||
#include <sys/mutex.h>
|
||||
|
||||
|
||||
@@ -313,7 +313,7 @@ splat_kmem_cache_test_kct_alloc(kmem_cache_priv_t *kcp, int id)
|
||||
{
|
||||
kmem_cache_thread_t *kct;
|
||||
|
||||
ASSERTF(id < SPLAT_KMEM_THREADS, "id=%d\n", id);
|
||||
ASSERT3S(id, <, SPLAT_KMEM_THREADS);
|
||||
ASSERT(kcp->kcp_kct[id] == NULL);
|
||||
|
||||
kct = kmem_zalloc(sizeof(kmem_cache_thread_t), KM_SLEEP);
|
||||
|
||||
Reference in New Issue
Block a user