d11878
--- crash-trace-command-2.0/trace.c.orig
d11878
+++ crash-trace-command-2.0/trace.c
d11878
@@ -198,7 +198,9 @@ static int init_offsets(void)
d11878
 			fprintf(fp, "per cpu buffer sizes\n");
d11878
 	}
d11878
 
d11878
-	if (kernel_symbol_exists("ring_buffer_read"))
d11878
+	if (machine_type("PPC64") && kernel_symbol_exists(".ring_buffer_read"))
d11878
+		gdb_set_crash_scope(symbol_value(".ring_buffer_read"), ".ring_buffer_read");
d11878
+	else if (kernel_symbol_exists("ring_buffer_read"))
d11878
 		gdb_set_crash_scope(symbol_value("ring_buffer_read"), "ring_buffer_read");
d11878
 
d11878
 	if (!per_cpu_buffer_sizes)