doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/bad-code.stp
raw| 1 | // Testcase for PR14107 missing kernel asm CFI. |
| 2 | // |
| 3 | // Note that newer (rhel9) kernels having upstream |
| 4 | // commit 5ad18b2e60b75c7297a998dea702451d33a052ed |
| 5 | // use force_sig_info_to_task() rather than |
| 6 | // force_sig_info() |
| 7 | // |
| 8 | probe kernel.function("force_sig_info_to_task") !, |
| 9 | kernel.function("force_sig_info") ! { |
| 10 | if (pid() == target()) { |
| 11 | print_ubacktrace() |
| 12 | } |
| 13 | } |