diff --git a/build/config_headers/tracing_config.h b/build/config_headers/tracing_config.h index 1d05fc24fc..79165bddfd 100644 --- a/build/config_headers/tracing_config.h +++ b/build/config_headers/tracing_config.h @@ -18,6 +18,7 @@ // macros specifying the tracing level for individual components (0 is disabled) +#define AHCI_PORT_TRACING 0 #define BFS_TRACING 0 #define BLOCK_CACHE_TRANSACTION_TRACING 0 #define BMESSAGE_TRACING 0 @@ -36,7 +37,6 @@ #define TEAM_TRACING 0 #define USER_MALLOC_TRACING 0 #define WAIT_FOR_OBJECTS_TRACING 0 -#define AHCI_PORT_TRACING 0 #endif // ENABLE_TRACING diff --git a/src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp b/src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp index ce616c507d..96cd1d725f 100644 --- a/src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp +++ b/src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp @@ -37,7 +37,8 @@ class AHCIPortTraceEntry : public AbstractTraceEntry { void AddDump(TraceOutput& out, const char* name) { - out.Print(name); + out.Print("ahci port"); + out.Print(" - %s - ", name); out.Print("controller: %p", fController); out.Print(", index: %d", fIndex); } @@ -60,9 +61,9 @@ class AHCIPortPrdTable : public AHCIPortTraceEntry { void AddDump(TraceOutput& out) { - AHCIPortTraceEntry::AddDump(out, " - prd table: "); + AHCIPortTraceEntry::AddDump(out, "prd table"); - out.Print("address: %p", fAddress); + out.Print(", address: %p", fAddress); out.Print(", size: %lu", fSize); }