Blame SOURCES/ppc64_ring_buffer_read.patch

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