Re: systemtap stapvirt tool

2022-07-07 Thread Stan Cox
I turned on: LIBVIRT_DEBUG=debug which shows the deviation, indicated by "->". The working case, stdin event followed by stream event is: stapvirt: # stdin_event:1000 fd 0 events 0x1 stbuf_off 0 stbuf 0x7fff259eecb8 termbuf_off 58 buf "file 926928 stap_b861775" 2022-07-07 17:20:55.565+

Re: systemtap stapvirt tool

2022-07-07 Thread Daniel P . Berrangé
On Wed, Jul 06, 2022 at 05:25:32PM -0400, Stan Cox wrote: > stapvirt seems to have a quite similar layout to virsh-console. All is fine > for short packets: > > 1. Send file command to remote, stdin_event gets event > stdin_event:1000 fd 0 events 0x1 stbuf_off 0 stbuf 0x7ffd0e99f848 > termbuf_off

Re: systemtap stapvirt tool

2022-07-06 Thread Stan Cox
stapvirt seems to have a quite similar layout to virsh-console. All is fine for short packets: 1. Send file command to remote, stdin_event gets event stdin_event:1000 fd 0 events 0x1 stbuf_off 0 stbuf 0x7ffd0e99f848 termbuf_off 58 buf "file 926928 stap_1f18b4b" 2. stream_event gets event stre

Re: systemtap stapvirt tool

2022-07-06 Thread Daniel P . Berrangé
On Wed, Jul 06, 2022 at 11:43:41AM -0400, Stan Cox wrote: > I am having a quandary with libvirt and am wondering if someone can shed > some light. > > Systemtap converts a probing and instrumentation language into a kernel > module. The module can optionally be run remotely via ssh or libvirt. Th

systemtap stapvirt tool

2022-07-06 Thread Stan Cox
I am having a quandary with libvirt and am wondering if someone can shed some light. Systemtap converts a probing and instrumentation language into a kernel module. The module can optionally be run remotely via ssh or libvirt. The libvirt mechanism is not working (not yet sure of timing of r