How to step into the function osd_sink_pad_buffer_probe and debug it?

Any useful tool? And if based on gdb, how to step into it?

Better to add log for debugging. Add break point if you do need use gdb.

It seems difficult to debug a multi-thresd program. When it stops at the function osd_sink_pad_buffer_probe, many signal interrupts happen at once and I do not know where I am. I do not how to get that breakpoint again. Is there any useful suggestions?

Add log is the most normal debug method.