This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/6470] export command line arguments or run-time script parsing
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 30 Apr 2008 22:47:17 -0000
- Subject: [Bug translator/6470] export command line arguments or run-time script parsing
- References: <20080430121503.6470.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2008-04-30 22:47 -------
Actually, the _ARGV[]/_ARGC global pair can be synthesized entirely
in terms of the comment #2 preprocessor directives, in a tapset:
global _ARGV, _ARGC
probe begin {
%( argc == 0 %? _ARGC=0 %:
%( argc == 1 %? _ARGC=1; _ARGV[1]=@1 %:
.....
%) %)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6470
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.