HEX
Server: nginx/1.16.1
System: Linux ecs-04358622 4.19.90-2107.6.0.0100.oe1.bclinux.x86_64 #1 SMP Wed Dec 1 19:59:44 CST 2021 x86_64
User: nginx (994)
PHP: 8.0.0
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'