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

How to cross compile system tap scripts for user space application

The challenge that I faced was on identifying the process name / library name within the script.During the cross compilation the process name and library name are being referred with real path of process/library in the host (which I understood after…
dhanasubbu
  • 13
  • 4
0
votes
1 answer

Systemtap libdwfl error on Linux

I am tying to work/setup the Systemtap tool for profiling OS procesess, on a Virtual Linux. I am using VirtualBox to run the image. Via rpm -q kernel and cat /proc/version The version obtained is: Linux version 2.6.32-5-686 (Debian…
DarkCygnus
  • 7,420
  • 4
  • 36
  • 59
0
votes
1 answer

systemtap probing by line number "analysis failed"

Using systemtap with file name and line number is generating an error, where as using the (mangled) function name is fine. What am I doing wrong here? // fails with // semantic error: no match // Pass 2: analysis failed. [man error::pass2] probe…
Rob Guo
  • 152
  • 1
  • 5
0
votes
0 answers

systemtap: nothing for "sudo stap -L 'process("/data1/nginx/sbin/nginx").function("*")'

I had installed nginx and lua in my docker image, but I didn't install them on my physical CentOS system. I installed nginx-debuginfo on both physical CentOS system and docker image. I docker run and start nginx: docker run -it -p 2000:20 …
0
votes
1 answer

systemtap:while resolving probe point: identifier 'process' at source: probe process().function no match

I had installed nginx and lua in my docker image, but I didn't install nginx on my physical CentOS system. I "docker run my image" and start nginx on my physical CentOS system. So the nginx master and worker process are working. I run an example of…
0
votes
0 answers

Issue installing perf/system tap on kernel 3.1

I have custom linux on kernel 3.1 with glibc 2.14 . Now when i try to install perf/systemtap it ask for glibc2.15, I am not able to remove the existing glibc2.14 as it has dependencies linked to it.Is there a way i can install perf/system tap . Hope…
Naval Joshi
  • 11
  • 1
  • 7
0
votes
1 answer

equivalence of pread in linux kernel space (with O_DIRECT)

I am working with systemtap probe which is in linux kernel space and so I can't use the regular pread syscall. Is there a equivalence of pread syscall in kernel space? my friend found…
Erben Mo
  • 3,528
  • 3
  • 19
  • 32
0
votes
1 answer

How to understand "$location" in a Systemtap script?

The Systemtap script: # Array to hold the list of drop points we find global locations # Note when we turn the monitor on and off probe begin { printf("Monitoring for dropped packets\n") } probe end { printf("Stopping dropped packet monitor\n")…
lxgeek
  • 1,732
  • 2
  • 22
  • 33
0
votes
1 answer

how to get syscall document in systemtap

I read the document find about probe、function document and the usage: man -k probe:: probe::ioblock.end [probe::ioblock] (3stap) - Fires whenever a block I/O transfer is complete probe::ioblock.request [probe::ioblock] (3stap) - Fires whenever…
fuyou001
  • 1,594
  • 4
  • 16
  • 27
0
votes
1 answer

Error in the systemtap script

I am trying to execute a systemtap script. But during execution i got the following semantic error. stap -v -g netfilter.stp Pass 1: parsed user script and 96 library script(s) using 150164virt/25896res/2100shr/24504data kb, in 230usr/20sys/243real…
user2641906
  • 93
  • 1
  • 10
0
votes
1 answer

SystemTap registration error

Did you ever see this Warning: probe kernel.function("some function@some file") (address 0xSomething) registration error (rc -84) ? If so, what did you do to solve it? It is an warning, and occurs during runtime (after Pass 5). But it skips tapping…
0
votes
1 answer

SystemTap semantic error, unable to find member 'mnt_parent'

I just installed systemtap. When I wanted to use stap -o to send the result into a file, I got an error: sudo stap -o a.out b.stp semantic error: unable to find member 'mnt_parent' for struct vfsmount (alternatives: mnt_root mnt_sb mnt_flags):…
Gonghan
  • 287
  • 2
  • 3
  • 10
0
votes
1 answer

Where to find the debuginfo kernel rpm for ubuntu 12.04 ?

I am trying to run systamtap on ubuntu and i have the default ubuntu 12.04 without any debuginfo package installed on it. I am getting below error: semantic error: missing x86_64 kernel/module debuginfo [man warning::debuginfo] under…
rajshenoy
  • 501
  • 1
  • 7
  • 16
0
votes
1 answer

Systemtap %M printf format only returns one character

I'm trying to print the data received on a socket - the contents of ubuf on the return of sys_recv. I cant get the %M format specifier to work properly. Can someone please explain how to use it properly. Thanks stap -L…
0
votes
1 answer

systemtap Generating Instrumentation for Other Computers

according to https://sourceware.org/systemtap/SystemTap_Beginners_Guide/cross-compiling.html#preppingxcompile, we can follow the following steps to generate instrumentation for other computes. *1. Install the systemtap-runtime RPM on each target…
zhihuifan
  • 1,093
  • 2
  • 16
  • 30
1 2 3
9
10