Description of problem:
/usr/share/systemtap/tapset/qemu-system-<arch>-log.stp has %llu in it causing systemtap to fail.
stap --dyninst varwatch.stp 'process("/usr/lib64/libpython3.8.so.1.0").statement("PyEval_EvalCodeEx@*:*")' '$$parms' -c '/usr/bin/python3 pyexample.py 35'
parse error: invalid or missing conversion specifier
saw: operator ',' at /usr/share/systemtap/tapset/qemu-system-aarch64-log.stp:15034:101
source: printf("%d@%d vhost_vdpa_set_log_base dev: %p base: 0x%x size: %llu refcnt: %d fd: %d log: %p\n", pid(), gettimeofday_ns(), dev, base, size, refcnt, fd, log)
^
1 parse error.
WARNING: tapset "/usr/share/systemtap/tapset/qemu-system-aarch64-log.stp" has errors, and will be skipped
1 parse error.
WARNING: tapset "/usr/share/systemtap/tapset/qemu-system-i386-log.stp" has errors, and will be skipped
1 parse error.
WARNING: tapset "/usr/share/systemtap/tapset/qemu-system-x86_64-log.stp" has errors, and will be skipped
parse error: expected statement
saw: varwatch.stp EOF
1 parse error.
Pass 1: parse failed. [man error::pass1]
Number of similar error messages suppressed: 2.
Rerun with -v to see them.
Version-Release number of selected component (if applicable):
qemu-5.2.0-5.fc34.1.src.rpm
How reproducible:
always
Steps to Reproduce:
1. run systemtap with basically any tapset
Actual results:
error pasted above
Expected results:
Works.
Additional info:
editing the file so that the %llu is replaced with %lu fixes the problem
Description of problem: /usr/share/systemtap/tapset/qemu-system-<arch>-log.stp has %llu in it causing systemtap to fail. stap --dyninst varwatch.stp 'process("/usr/lib64/libpython3.8.so.1.0").statement("PyEval_EvalCodeEx@*:*")' '$$parms' -c '/usr/bin/python3 pyexample.py 35' parse error: invalid or missing conversion specifier saw: operator ',' at /usr/share/systemtap/tapset/qemu-system-aarch64-log.stp:15034:101 source: printf("%d@%d vhost_vdpa_set_log_base dev: %p base: 0x%x size: %llu refcnt: %d fd: %d log: %p\n", pid(), gettimeofday_ns(), dev, base, size, refcnt, fd, log) ^ 1 parse error. WARNING: tapset "/usr/share/systemtap/tapset/qemu-system-aarch64-log.stp" has errors, and will be skipped 1 parse error. WARNING: tapset "/usr/share/systemtap/tapset/qemu-system-i386-log.stp" has errors, and will be skipped 1 parse error. WARNING: tapset "/usr/share/systemtap/tapset/qemu-system-x86_64-log.stp" has errors, and will be skipped parse error: expected statement saw: varwatch.stp EOF 1 parse error. Pass 1: parse failed. [man error::pass1] Number of similar error messages suppressed: 2. Rerun with -v to see them. Version-Release number of selected component (if applicable): qemu-5.2.0-5.fc34.1.src.rpm How reproducible: always Steps to Reproduce: 1. run systemtap with basically any tapset Actual results: error pasted above Expected results: Works. Additional info: editing the file so that the %llu is replaced with %lu fixes the problem