fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
hpt has joined #systemtap
sscox has joined #systemtap
slowfranklin has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
orivej has quit [Ping timeout: 268 seconds]
orivej_ has joined #systemtap
gila has joined #systemtap
slowfranklin has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
hpt has quit [Quit: Lost terminal]
mjw has joined #systemtap
tromey has joined #systemtap
slowfranklin has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
orivej_ has quit [Ping timeout: 246 seconds]
<ggherdov> Hello, is there a way to call a kernel function from a systemtap probe? There are a few functions that read static data, and sometimes I want to see their output.
<ggherdov> Example: pm_qos_request() from kernel/power/qos.c which gives the current QoS value for power management, or acpi_evaluate_object() from drivers/acpi/acpica/nsxfeval.c which reads ACPI tables
<ggherdov> I could write a module to call them, but can I do that with a quick systemtap script?
<fche> ggherdov, embedded-c
<fche> see the /usr/share/systemtap/tapset/linux *.stp files for many examples of doing the same
<fche> note: the EMBEDDED C section in the [man stap] discusses security/safety implications. These are profound -- embedded-C code runs with zero stap-side protection, so that burden is on your own shoulders.
<ggherdov> fche: amazing! thanks for the pointer. Yeah sure I understand I can mess things up, that's why I precised that I'm just going to run some "getter" kind of functions
<fche> see also the tapset/*GUIDE* doc files, it covers constraints a little more
<ggherdov> ok
slowfranklin has joined #systemtap
slowfranklin has quit [Client Quit]
slowfranklin has joined #systemtap
khaled has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
orivej has joined #systemtap
gromero has joined #systemtap
slowfranklin has joined #systemtap
slowfranklin has quit [Client Quit]
wcohen has quit [Ping timeout: 245 seconds]
wcohen has joined #systemtap
mjw has quit [Quit: Leaving]
irker046 has joined #systemtap
<irker046> systemtap: fche systemtap.git:refs/heads/master * release-4.0-111-g5e50524 / tapsets.cxx: PR24199: at pass-2 verbosity > 3, trace $var error-chaining events http://tinyurl.com/y3l5rt75
<irker046> systemtap: fche systemtap.git:refs/heads/master * release-4.0-110-g40f855f / loc2stap.cxx: PR24199: loc2stap: propagate dwarf DIE() source locations better http://tinyurl.com/yxwnsas8
<irker046> systemtap: fche systemtap.git:refs/heads/master * release-4.0-112-gd36f6fe / elaborate.cxx elaborate.h: PR24199: don't use exceptions to signal type-resolution failures http://tinyurl.com/yxo4uabz
orivej has quit [Ping timeout: 258 seconds]
fche has quit [Remote host closed the connection]
tromey has quit [Quit: ERC (IRC client for Emacs 26.1)]
vbernat has quit [Quit: The future belongs to those who believe in the beauty of their dreams.]
fche has joined #systemtap
fche has quit [Changing host]
fche has joined #systemtap
vbernat has joined #systemtap
orivej has joined #systemtap
wcohen has quit [Ping timeout: 246 seconds]
wcohen has joined #systemtap
khaled has quit [Quit: Konversation terminated!]