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