Skip to content

Commit ef4af87

Browse files
superm1rafaeljw
authored andcommitted
ACPICA: Decrease AcpiExTracePoint verbosity
Early in kernel boot pointers can't be used and so %p shows up incorrectly: ``` extrace-0138 ex_trace_point : Method Begin [0x(____ptrval____):\M460] execution. ``` Later in the boot %p works, but it's not really actually useful when the pathname can resolve properly. Adjust the debug print so that if the Pathname resolves that the pointer isn't also printed: ``` extrace-0138 ex_trace_point : Method Begin [\M460] execution. ``` Link: acpica/acpica#1013 Link: acpica/acpica@bdc2a4e Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://patch.msgid.link/20250609032839.525087-1-superm1@kernel.org Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 86731a2 commit ef4af87

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/acpi/acpica/extrace.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ acpi_ex_trace_point(acpi_trace_event_type type,
136136

137137
if (pathname) {
138138
ACPI_DEBUG_PRINT((ACPI_DB_TRACE_POINT,
139-
"%s %s [0x%p:%s] execution.\n",
139+
"%s %s [%s] execution.\n",
140140
acpi_ex_get_trace_event_name(type),
141-
begin ? "Begin" : "End", aml, pathname));
141+
begin ? "Begin" : "End", pathname));
142142
} else {
143143
ACPI_DEBUG_PRINT((ACPI_DB_TRACE_POINT,
144144
"%s %s [0x%p] execution.\n",

0 commit comments

Comments
 (0)