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