HEX
Server: LiteSpeed
System: Linux w5304130.sdnsbox.com 4.18.0-425.3.1.lve.el8.x86_64 #1 SMP Tue Nov 22 22:59:23 EST 2022 x86_64
User: makefitmeserver (1001)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //usr/share/systemtap/examples/general/whythefail.meta
title: Why did the function fail?
name: whythefail.stp
keywords: speculation monitoring function trace _best
description: The whythefail.stp script prints a statement-execution trace for a given function, but only for those runs of the function that ended up with a (configurable) post-return condition.
test_check: stap -p4 whythefail.stp kernel do_sys_open '$return < 0'
test_installcheck: stap whythefail.stp kernel do_sys_open '$return < 0' -c 'cat /root/no-such-file || true'