]> git.ipfire.org Git - thirdparty/libvirt.git/commit
scripts: avoid matching 'char **' as string for systemtap
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 16 Feb 2026 10:00:48 +0000 (10:00 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 16 Feb 2026 14:41:31 +0000 (14:41 +0000)
commitcb33103c4afbce68134be112ecc5d0251e542650
tree4b1b182e2481ba4547cbbdad1b962644693c67c5
parent5787326541be4eafaa7ae3b4f866b3da793d44fe
scripts: avoid matching 'char **' as string for systemtap

When a probe argument is declared "char *" we reference the userspace
string value using 'user_string(...)' for systemtap.

Unfortunately our code generator also matches on args declared "char **"
and generates bogus code

   *cert = user_string($arg4);

which is a syntax error for systemtap.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
scripts/dtrace2systemtap.py