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