This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/4934] New: dir validation is not proper with options -I and -R
- From: "dwilder at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 17 Aug 2007 16:36:29 -0000
- Subject: [Bug translator/4934] New: dir validation is not proper with options -I and -R
- Reply-to: sourceware-bugzilla at sourceware dot org
>From /usr/include/linux/limits.h -----> #define PATH_MAX 4096 /* #
chars in a path name including nul */
stap is working for more than this number. In the following command I given
'130000' also, it just giving those many no.of characters in the help.
# b=`perl -e 'print "A"x100'`; stap -I$b
A script must be specified.
SystemTap translator/driver (version 0.5.14/0.128 built 2007-07-03)
Copyright (C) 2005-2007 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Usage: stap [options] FILE Run script in file.
or: stap [options] - Run script on stdin.
or: stap [options] -e SCRIPT Run given script.
Options:
-- no more options after this
-v increase verbosity [0]
-h show help
-V show version
-k keep temporary directory
-u unoptimized translation
-g guru mode
-P prologue-searching for function probes
-b bulk (percpu file) mode
-s NUM buffer size in megabytes, instead of 0
-p NUM stop after pass NUM 1-5, instead of 5
(parse, elaborate, translate, compile, run)
-I DIR look in DIR for additional .stp script files, in addition to
/usr/share/systemtap/tapset
/usr/share/systemtap/tapset/LKET
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-D NM=VAL emit macro definition into generated C code
-R DIR look in DIR for runtime, instead of
/usr/share/systemtap/runtime
-r RELEASE cross-compile to kernel RELEASE, instead of 2.6.18-36.el5
-m MODULE set probe module name, instead of stap_30031
-o FILE send output to file, instead of stdout
-c CMD start the probes, run CMD, and exit when it finishes
-x PID sets target() to PID
-t collect probe timing information
-q generate information on tapset coverage
#
# b=`perl -e 'print "A"x65000'`; stap -I$b -R$b
The same case with -R also if you are using both -I and -R at max you can give
till 65000 and in the case of just -I can give till 130000. Thanks!!
--
Summary: dir validation is not proper with options -I and -R
Product: systemtap
Version: unspecified
Status: NEW
Severity: minor
Priority: P3
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dwilder at us dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4934
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.