Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [systemtap]

The tag has no usage guidance.

0
votes
0answers
22 views

Tracing writes to files and devices

I would like to audit writes to a specific file (like /home/john/file.txt) and/or a specific device (like /dev/tty/1). How to do it? By audit I mean: What was written by process? Solution based on ...
2
votes
1answer
233 views

Install a Linux kernel with debug symbols and without optimizations

My system is Ubuntu 18.04. How do I install a Linux kernel with debug symbols and without optimizations? I would like to trace it with SystemTap.
1
vote
0answers
87 views

Systemtap causes a segfault, why?

I'm trying to monitor library calls system-wide. I've written this script to trace library calls for libguestfs: probe begin { printf("ok\n") } probe process("/usr/lib64/libguestfs.so.0....
0
votes
0answers
161 views

How to install debug symbols when compiling a new Kernel (for systemtap)

I need to use a new Kernel to test some features (with systemtap). Ubuntu doesn't have a recent 4.15 Kernel in the repos. I have downloaded the source code from kernel.org I have compiled a new kernel ...
2
votes
1answer
200 views

System-wide monitoring of calls to a library function

I have a modern Linux desktop with lots of processes running concurrently. One of those processes, and I don't know which one, calls a function some_func from a popular dynamic library some_lib (think ...