Sami Liedes <sami.lie...@iki.fi> writes:
>> $ stap --use-server localhost -v -e 'probe begin {}'
>
> FWIW, I don't think this does what you'd imagine it does. Systemtap
> seems to be very picky about parameter syntax; in this command line,

Good catch. Fortunately the server still works:

lindi2:~$ stap --use-server=localhost -v -e 'probe begin {}'
Using a compile server.
Unable to connect to a server.
Passes: via server ? using 74812virt/4256res/3492shr kb, in 0usr/10sys/7022real 
ms.
Passes: via server failed.  Try again with another '-v' option.
lindi2:~$ stap --use-server=lindi2 -v -e 'probe begin {}'
Using a compile server.
WARNING: The domain name, lindi2.lan, does not match the DNS name(s) on the 
server certificate:
  lindi2
Pass 1: parsed user script and 77 library script(s) using 
79228virt/22236res/2448shr kb, in 70usr/30sys/95real ms.
WARNING: side-effect-free probe 'probe_1987': keyword at <input>:1:1
 source: probe begin {}
         ^
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) 
using 79760virt/22764res/2508shr kb, in 0usr/0sys/3real ms.
Pass 3: using cached 
<server>/.systemtap/cache/1d/stap_1d19799eac53aa6001f332ae1c0ae215_558.c
Pass 4: using cached 
<server>/.systemtap/cache/1d/stap_1d19799eac53aa6001f332ae1c0ae215_558.ko
Passes: via server lindi2.lan [10.7.6.30:47645] using 74884virt/4540res/3688shr 
kb, in 10usr/0sys/2278real ms.
Pass 5: starting run.
^CPass 5: run completed in 0usr/20sys/5553real ms.


lindi2:~$ stap --use-server=localhost -v -e 'probe begin {}'
Using a compile server.
Unable to connect to a server.
Passes: via server ? using 74816virt/4252res/3488shr kb, in 0usr/10sys/7021real 
ms.
Passes: via server failed.  Try again with another '-v' option.



lindi2:~$ stap --use-server localhost -v -e 'probe begin {}'
Using a compile server.
WARNING: The domain name, lindi2.lan, does not match the DNS name(s) on the 
server certificate:
  lindi2
Pass 1: parsed user script and 77 library script(s) using 
79228virt/22252res/2452shr kb, in 60usr/40sys/93real ms.
WARNING: side-effect-free probe 'probe_1987': keyword at <input>:1:1
 source: probe begin {}
         ^
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) 
using 79760virt/22780res/2512shr kb, in 0usr/0sys/3real ms.
Pass 3: using cached 
<server>/.systemtap/cache/1d/stap_1d19799eac53aa6001f332ae1c0ae215_558.c
Pass 4: using cached 
<server>/.systemtap/cache/1d/stap_1d19799eac53aa6001f332ae1c0ae215_558.ko
Passes: via server lindi2.lan [10.7.6.30:47645] using 74884virt/4544res/3692shr 
kb, in 0usr/20sys/2284real ms.
Pass 5: starting run.
^CPass 5: run completed in 0usr/20sys/1606real ms.

-Timo



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to