This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Canonical list of reserved words ?
- From: "Daniel P. Berrange" <berrange at redhat dot com>
- To: systemtap at sourceware dot org
- Date: Thu, 1 Nov 2012 14:49:40 +0000
- Subject: Canonical list of reserved words ?
- Reply-to: "Daniel P. Berrange" <berrange at redhat dot com>
We've had fairly frequent bugs in QEMU where generated tapsets contain
variables clashing with systemd reserved words. eg
https://bugzilla.redhat.com/show_bug.cgi?id=871286
Currently QEMU's generator does this
for name in e.args.names():
# Append underscore to reserved keywords
if name in ('limit', 'in', 'next', 'self', 'function'):
name += '_'
out(' %s = $arg%d;' % (name, i))
i += 1
To avoid this proper in future I'm looking for a full list of all
systemtap reserved words. I've looked at the docs but not found a
clear list yet, so can someone point me int he right direction
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|