Questions tagged [systemtap]

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.

142 questions
0
votes
1 answer

The third exercise of section 2.3 "Exercises" for the official systemtap tutorial

Problem Description: Listing: socket_trace.stp probe kernel.function("*@net/socket.c").call{ printf("%s -> %s\n", thread_indent(1), ppfunc()) } probe kernel.function("*@net/socket.c").return { printf("%s <- %s\n", thread_indent(-1),…
storypku
  • 41
  • 4
0
votes
0 answers

SystemTap on Android

when I executed the command ' staprun ' on the android , I met following problem : # /data/systemtap-1.0-omap/bin/staprun /data/local/msyscall_all.ko /data/systemtap-1.0-omap/bin/staprun: 1: Syntax error: "(" unexpected # the module…
wangxigui
  • 35
  • 5
0
votes
0 answers

why i dont have right to execute systemtap?

I wanna to run systemtap in my linux mint. I created three groups "stapsys,stapusr,stapdev",and added myself id in it . but when i run a simple test, the result is: stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}' Pass 1: parsed user…
uuball
  • 341
  • 2
  • 5
  • 12
0
votes
1 answer

How to show the totall amount of process ,main memory, virtual memory usage in SYSTEMTAP?

I wanna write a script that monitors one (selected) item component for the following operating systems: Process Management Management of main memory Virtual memory management Management of input / output Network Management and I came up with…
Googz En
  • 41
  • 1
  • 6
0
votes
1 answer

systemtap profiling gc node.js

I installed node.js(0.9.4) via nvm, which according to changelog has systemtap support. I installed systemtap on my Fedora linux distro. $ sudo yum install systemtap I used this gist from Ben Noordhuis. $ stap -l 'process("node")' produces…
Alfred
  • 60,935
  • 33
  • 147
  • 186
0
votes
1 answer

systemtap tcp connections script error

i am trying to run this script , and it shows no tcp connections any ideas? OS: centos 6.3 #! /usr/bin/env stap probe begin { printf("%6s %16s %6s %6s %16s\n", "UID", "CMD", "PID", "PORT", "IP_SOURCE") } probe…
krisdigitx
  • 7,068
  • 20
  • 61
  • 97
0
votes
2 answers

For a SystemTap script, how do I make sure I catch the fact a process is ending?

Writing a SystemTap script (for Linux), and I want to make sure I catch the fact that a process has ended. What's the best way to do this (e.g., a particular kernel function, or an exhaustive list of ways a process could end like calling…
rivenmyst137
  • 345
  • 1
  • 4
  • 10
1 2 3
9
10