Sure. # stap-prep # stap -vv -L 'kernel.trace("*")' Systemtap translator/driver (version 2.6/0.159, Debian version 2.6-0.2) Copyright (C) 2005-2014 Red Hat, Inc. and others This is free software; see the source for copying conditions. enabled features: AVAHI LIBSQLITE3 NSS TR1_UNORDERED_MAP NLS Created temporary directory "/tmp/stapPlda2c" Session arch: x86_64 release: 3.16.0-4-amd64 Kernel symbol table /lib/modules/3.16.0-4-amd64/build/System.map unavailable, (No existe el fichero o el directorio) Searched for library macro files: "/usr/share/systemtap/tapset/linux/*.stpm", found: 3, processed: 3 Searched for library macro files: "/usr/share/systemtap/tapset/*.stpm", found: 5, processed: 5 Searched: "/usr/share/systemtap/tapset/linux/x86_64/*.stp", found: 3, processed: 3 Searched: "/usr/share/systemtap/tapset/linux/*.stp", found: 70, processed: 70 Searched: "/usr/share/systemtap/tapset/x86_64/*.stp", found: 1, processed: 1 Searched: "/usr/share/systemtap/tapset/*.stp", found: 24, processed: 24 Pass 1: parsed user script and 106 library script(s) using 87756virt/33004res/5528shr/27956data kb, in 140usr/30sys/263real ms. Attempting to extract kernel debuginfo build ID from /lib/modules/3.16.0-4-amd64/build/vmlinux.id Attempting to extract kernel debuginfo build ID from /sys/kernel/notes semantic error: while resolving probe point: identifier 'kernel' at <input>:1:7 thrown from: elaborate.cxx:1062 source: probe kernel.trace("*") {} ^
semantic error: no match thrown from: elaborate.cxx:1025 Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s) using 88792virt/34960res/6408shr/28992data kb, in 10usr/70sys/149real ms. Tip: /usr/share/doc/systemtap/README.Debian should help you get started. Running rm -rf /tmp/stapPlda2c Spawn waitpid result (0x0): 0 Removed temporary directory "/tmp/stapPlda2c" On Wed, Jun 17, 2015 at 3:26 PM, Timo Juhani Lindfors <timo.lindf...@iki.fi> wrote: > Ismael Garrido <ismael...@gmail.com> writes: > > Previously it was complaining it didn't find any System.map file, so I > did > > this: > > cp /boot/System.map-3.16.0-4-amd64 > > /lib/modules/3.16.0-4-amd64/build/System.map > > You shouldn't copy files manually to /lib as it is managed by the > package manager. Can you undo that and run stap-prep? > > -Timo >