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