简体   繁体   中英

what is python doing with systemtap?

I noticed on CentOS-7 distro that the python-2 and python-3 RPM installs both have some "systemtap" scripts installed at /usr/share/systemtap .

What is python doing with systemtap scripts?

I read a little about what is systemtap and the description[1] I read sounds like to me that systemtap is a kernel debugging/instrumentation tool.

[1] from the stackoverflow.com tag description:

Systemtap is tool to probe or trace a running linux system,
supporting visibility into both kernel- (its initial focus) and user-space. It uses dynamically loaded probes to gather performance and tracing data about the whole system or just selected processes.

SystemTap can inspect python. Reference: https://docs.python.org/3/howto/instrumentation.html

So the scripts you see in /usr/share/systemtap may include some helper functions for SystemTap to trace python code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM