On Mon, Nov 21, 2022 at 8:43 AM stan via users
<users(a)lists.fedoraproject.org> wrote:
This is just a snippet of code that stap will implement when you run
it
on the file. I think the three ... are just markers to indicate the
code. As to where it should go, a file in your home directory is fine.
You would have to run the sudo stap events.stp in the directory where
it resides, or use a path to the executable. Or maybe
sudo stap -e events.stp
from what I can see in the manual.
Yes, that's all exactly right. The three backticks are how python
marks blocks of text. I've gotten into the habit of using those in
emails to separate code from commentary. Sorry if that was confusing.
So, yes, create events.stp anywhere, and pass the path to stap if it
isn't in the current directory.
--
Jerry James
http://www.jamezone.org/