]> sourceware.org Git - systemtap.git/log
systemtap.git
12 years agoPR13609: Kill sub-processes with SIGTERM, regardless of last incoming signal.
Frank Ch. Eigler [Tue, 6 Mar 2012 16:05:16 +0000 (11:05 -0500)]
PR13609: Kill sub-processes with SIGTERM, regardless of last incoming signal.

12 years agoPR13661: Added NEWS and man page entries
Chris Meek [Mon, 5 Mar 2012 22:36:34 +0000 (17:36 -0500)]
PR13661: Added NEWS and man page entries

12 years agoPR13661: Relax Server Rlimits (move to stap)
Chris Meek [Mon, 5 Mar 2012 21:16:31 +0000 (16:16 -0500)]
PR13661: Relax Server Rlimits (move to stap)

  Added rlimit options to stap:
    --rlimit-as=NUM
    --rlimit-cpu=NUM
    --rlimit-nproc=NUM
    --rlimit-stack=NUM
    --rlimit-fsize=NUM
  These options will set the appropriate rlimits to whatever is
  provided.
  Removed all rlimit handling from stap-serverd.cxx. These values
  can be specified in ~stap-server/.systemtap/rc.
  Default values are added to ~stap-server/.systemtap/rc on install.

12 years agoMark inline embedded-C expressions returning AF_INET/AF_INET6 as unprivileged.
David Smith [Mon, 5 Mar 2012 20:49:14 +0000 (14:49 -0600)]
Mark inline embedded-C expressions returning AF_INET/AF_INET6 as unprivileged.

* tapset/inet_sock.stp: Marked inline embedded-C expressions returning
  AF_INET/AF_INET6 in functions as unprivileged.
* tapset/ip.stp: Ditto.
* tapset/nfs_proc.stp: Ditto.
* tapset/rpc.stp: Ditto.

12 years agoInitial changes for supporting IPv6 in the compile server and client.
Dave Brolley [Fri, 2 Mar 2012 19:36:45 +0000 (14:36 -0500)]
Initial changes for supporting IPv6 in the compile server and client.

12 years agotestsuite.apps: similar changes for other TESTAPPS=<onetest> case
Frank Ch. Eigler [Mon, 5 Mar 2012 15:43:26 +0000 (10:43 -0500)]
testsuite.apps: similar changes for other TESTAPPS=<onetest> case

12 years agotestsuite python: be sensitive to TESTAPPS=python rather than TESTAPPS=tcl
Frank Ch. Eigler [Mon, 5 Mar 2012 15:40:55 +0000 (10:40 -0500)]
testsuite python: be sensitive to TESTAPPS=python rather than TESTAPPS=tcl

* testsuite/systemtap.apps/python.exp: Fix typo in applicability test.

12 years agoRevert "work in progress" that zapped AUTHORS
Frank Ch. Eigler [Sat, 3 Mar 2012 17:38:21 +0000 (12:38 -0500)]
Revert "work in progress" that zapped AUTHORS

This reverts commit d112b4e178fe21a82f55390305e99dc491922cb8.

12 years agoAdd new systemtap.apps for python
Stan Cox [Sat, 3 Mar 2012 15:09:34 +0000 (10:09 -0500)]
Add new systemtap.apps for python

* python.exp: New.  Test python sdt markers.
* python2.stp python3.stp:  New.  Backtracing and variable display tapset.

12 years agowork in progress
Stan Cox [Tue, 17 Jan 2012 16:57:36 +0000 (11:57 -0500)]
work in progress

12 years agoClean out tracking for blocks that are merged into other blocks
William Cohen [Fri, 2 Mar 2012 17:13:53 +0000 (12:13 -0500)]
Clean out tracking for blocks that are merged into other blocks

The IO system in linux often merges blocks together to reduce the number of
IO operations sent to IO devices. If nothing is done the tracking for
merged IO operations can fill up the associative arrays, causing the script
to fail.  This problem was reported in rhbz743591. This commit resolves
this problem.

12 years agoRevert "Clean out tracking for blocks that are merged into other blocks"
William Cohen [Fri, 2 Mar 2012 17:13:13 +0000 (12:13 -0500)]
Revert "Clean out tracking for blocks that are merged into other blocks"

This reverts commit 0102305e3573868b852faf5183451676beaedbe6.

12 years agoClean out tracking for blocks that are merged into other blocks
William Cohen [Fri, 2 Mar 2012 17:07:21 +0000 (12:07 -0500)]
Clean out tracking for blocks that are merged into other blocks

The IO system in linux often merges blocks together to reduce the number of
IO operations sent to IO devices. If nothing is done the tracking for
merged IO operations can fill up the associative arrays, causing the script
to fail.  This problem was reported in rhbz743591. This commit resolves
this problem.

12 years agoMatch Requires to existing package layout.
Stan Cox [Thu, 1 Mar 2012 04:11:32 +0000 (23:11 -0500)]
Match Requires to existing package layout.

* systemtap.spec (main): Only BuildRequires gcc-c++
(devel): Requires gcc make
(testsuite): Requires gcc gcc-c++ make glibc-devel and possibly glibc-devel.i386

12 years agoRegenerate systemtap.examples indexes.
Mark Wielaard [Wed, 29 Feb 2012 22:49:00 +0000 (23:49 +0100)]
Regenerate systemtap.examples indexes.

12 years agoBZ613992: new enospc.stp sample script
Lukas Czerner [Wed, 29 Feb 2012 17:38:21 +0000 (12:38 -0500)]
BZ613992: new enospc.stp sample script

12 years agoPR13721 (partial): Move cross-file WARNING before setting arity
Josh Stone [Wed, 29 Feb 2012 02:48:04 +0000 (18:48 -0800)]
PR13721 (partial): Move cross-file WARNING before setting arity

For PR10799, there is a WARNING check for when globals are used across
different files.  However, set_arity was done first, so any exception
there would bypass the check.

* elaborate.cxx (symresolution_info::find_var): Warn before set_arity.

12 years agodwflpp::iterate_over_libraries arm uses /lib/ld-linux.so.3 as interpreter.
Mark Wielaard [Mon, 27 Feb 2012 21:29:13 +0000 (22:29 +0100)]
dwflpp::iterate_over_libraries arm uses /lib/ld-linux.so.3 as interpreter.

12 years agoFix PR13646 (partial) by adding IPv6 support to tcp.sendmsg/tcp.disconnect.
David Smith [Mon, 27 Feb 2012 18:56:29 +0000 (12:56 -0600)]
Fix PR13646 (partial) by adding IPv6 support to tcp.sendmsg/tcp.disconnect.

* tapset/tcp.stp (tcp.sendmsg): Added 'family' member.
  (tcp.disconnect): Ditto.
* testsuite/buildok/tcp-detailed.stp: Added tests for new 'family'
  members.

12 years agoFix PR13646 (partial) by adding IPv6 support to tcp.setsockopt.
David Smith [Mon, 27 Feb 2012 18:37:28 +0000 (12:37 -0600)]
Fix PR13646 (partial) by adding IPv6 support to tcp.setsockopt.

* tapset/tcp.stp (tcp_sockopt_str): Updated with more IPV4 socket
  options.  Uses #defines instead of magic constants.
  (tcp_ipv6_sockopt_str): New function.
  (tcp.setsockopt): Added 'family' member.  Added IPv6 support.
* testsuite/buildok/tcp-all-probes.stp: Updated.
* testsuite/buildok/tcp-detailed.stp: Added support for
  tcp.ipv[46].setsockopt and tcp.ipv[46].setsockopt.return.
* testsuite/buildok/tcp-embedded.stp: Added tcp_ipv6_sockopt_str() compile
  test.

12 years agoFixed buildok.exp by moving comments out of switch statement.
David Smith [Mon, 27 Feb 2012 17:46:46 +0000 (11:46 -0600)]
Fixed buildok.exp by moving comments out of switch statement.

* testsuite/systemtap.pass1-4/buildok.exp: Fixed testcase by moving
  comments out of switch statement (which tcl doesn't like).

12 years agoAdd BuildRequires for gcc and gcc-c++
Stan Cox [Mon, 27 Feb 2012 17:11:23 +0000 (12:11 -0500)]
Add BuildRequires for gcc and gcc-c++

* systemtap.spec (BuildRequires): Add gcc and gcc-c++
(Requires):  Remove gcc and gcc-c++

12 years agoNormalize my name in .mailmap.
Mark Wielaard [Sun, 26 Feb 2012 17:17:40 +0000 (18:17 +0100)]
Normalize my name in .mailmap.

12 years agokernel/sched.c is no more, use kernel/time.c in examples and tests.
Mark J. Wielaard [Sat, 25 Feb 2012 16:05:48 +0000 (17:05 +0100)]
kernel/sched.c is no more, use kernel/time.c in examples and tests.

kernel commit v3.2-rc1-319-g391e43d
"sched: Move all scheduler bits into kernel/sched/"
removed kernel/sched.c. Use kernel/time.c in langref.tex and
stapprobes.3stap examples and systemtap.stress/current.stp test instead.

12 years agoPR13609: Added a concurrency test case
Chris Meek [Fri, 24 Feb 2012 19:19:01 +0000 (14:19 -0500)]
PR13609: Added a concurrency test case

12 years agoPR13609: Fixed interrupts and race conditions
Chris Meek [Fri, 24 Feb 2012 19:17:29 +0000 (14:17 -0500)]
PR13609: Fixed interrupts and race conditions

 - Interrupts are now handled properly. They
   wait for any outstanding threads to finish
   before exiting (unless a timeout occurs or
   another interrupt happens)
 - client_version is now local
 - spawned_pids[] is now protected

12 years agoUpdate uprobes_p() to fail if we're on ia64.
David Smith [Fri, 24 Feb 2012 18:29:13 +0000 (12:29 -0600)]
Update uprobes_p() to fail if we're on ia64.

* testsuite/lib/systemtap.exp (uprobes_p): Fail if we're using classical
  utrace and we're on an ia64 system.

12 years agoDon't do exelib prelink tests if the system doesn't have prelink.
David Smith [Fri, 24 Feb 2012 15:46:09 +0000 (09:46 -0600)]
Don't do exelib prelink tests if the system doesn't have prelink.

* testsuite/systemtap.exelib/exelib.exp: On platforms with no prelink
  executable, don't try the prelink tests.

12 years agoSupport fallback kernel dump_stack() with or without bp argument. cont.
Mark J. Wielaard [Fri, 24 Feb 2012 13:37:48 +0000 (14:37 +0100)]
Support fallback kernel dump_stack() with or without bp argument. cont.

Original patch forgot to add the new autoconf file...

12 years agoDo not probe ARM assembly language __switch_to function in current.stp test
William Cohen [Fri, 24 Feb 2012 13:32:37 +0000 (08:32 -0500)]
Do not probe ARM assembly language __switch_to function in current.stp test

The systemtap.stress/current.stp test did not work on ARM because the
test was trying to probe a function that is an assembly language function
on ARM. This patch avoids probing assembly language function.

12 years agoMarked twentyeightprime.stp as KFAIL if no uprobes in buildok.exp.
David Smith [Thu, 23 Feb 2012 22:08:51 +0000 (16:08 -0600)]
Marked twentyeightprime.stp as KFAIL if no uprobes in buildok.exp.

* testsuite/systemtap.pass1-4/buildok.exp: Marked twentyeightprime.stp as
  KFAIL if no uprobes.  Grouped the different types of kfails together.

12 years agoIncrease systemtap.base/warnings.exp timeout for slow processors
William Cohen [Thu, 23 Feb 2012 18:19:33 +0000 (13:19 -0500)]
Increase systemtap.base/warnings.exp timeout for slow processors

On arm machines this test takes much longer than 30 seconds to get started.
Increased the timeout to allow for slow machines.

12 years agosyscalltimes sample: tolerate partially specified filters without type problems
Felix Lin [Thu, 23 Feb 2012 16:36:51 +0000 (11:36 -0500)]
syscalltimes sample: tolerate partially specified filters without type problems

12 years agoFix PR13646 (partial) by updating ipaddr testcase.
David Smith [Wed, 22 Feb 2012 19:56:31 +0000 (13:56 -0600)]
Fix PR13646 (partial) by updating ipaddr testcase.

* testsuite/systemtap.base/ipaddr.exp: Change start_server() and
  stop_server() procedure names to avoid clashing with procedures in
  testsuite/lib/systemtap.exp.

12 years agoUpdate stappaths paths to reflect reality a bit better
Timo Juhani Lindfors [Tue, 7 Feb 2012 10:38:39 +0000 (12:38 +0200)]
Update stappaths paths to reflect reality a bit better

12 years agomention CVE in NEWS
Frank Ch. Eigler [Wed, 22 Feb 2012 18:11:35 +0000 (13:11 -0500)]
mention CVE in NEWS

12 years agoFix PR13646 (partial) by adding IPv6 support to _struct_sockaddr_u().
David Smith [Tue, 21 Feb 2012 20:38:55 +0000 (14:38 -0600)]
Fix PR13646 (partial) by adding IPv6 support to _struct_sockaddr_u().

* tapset/aux_syscalls.stp (_struct_sockaddr_u): Fixed IPv6 support and
  updated IPv4 support.

12 years agoFix PR13646 (partial) by adding IPv6 support to 'tcp.receive'.
David Smith [Tue, 21 Feb 2012 19:22:45 +0000 (13:22 -0600)]
Fix PR13646 (partial) by adding IPv6 support to 'tcp.receive'.

* tapset/tcp.stp: Added IPv6 support to tcp.receive by splitting it into
  tcp.ipv4.receive and tcp.ipv6.receive (and making tcp.receive link to
  both).  Added a 'family' variable.
* testsuite/buildok/tcp-detailed.stp: Added compile testcase for
  tcp.ipv4.receive and tcp.ipv6.receive.
* testsuite/systemtap.base/ipaddr.exp: Improved script output regexp.
* testsuite/systemtap.base/ipaddr2.stp: Works for IPv4 and IPv6.

12 years agoFix PR13646 (partial) by improving inline embedded-C expressions using AF_INET.
David Smith [Tue, 21 Feb 2012 17:29:29 +0000 (11:29 -0600)]
Fix PR13646 (partial) by improving inline embedded-C expressions using AF_INET.

* tapset/inet_sock.stp: Add '/* pure */' to all inline embedded-C
  expressions returning AF_INET/AF_INET6 so they can be optimized away.
* tapset/ip.stp: Ditto.
* tapset/nfs_proc.stp: Ditto.
* tapset/rpc.stp: Ditto.
* tapset/tcp.stp: Ditto.

12 years agoPR13714 - Make sure REG_STATE.cfa_is_expr is always set correctly.
Mark Wielaard [Tue, 21 Feb 2012 14:08:58 +0000 (15:08 +0100)]
PR13714 - Make sure REG_STATE.cfa_is_expr is always set correctly.

runtime/unwind.c (processCFI): Always set REG_STATE.cfa_is_expr and
add new sanity checks to make sure the cfa definition rules are sane.

Since the cfa expr pointer and cfa register/offset rule shared a union
not setting REG_STATE.cfa_is_expr could result in compute_expr ()
wrongly being called and using the register/offset as expr pointer.

12 years agoFix PR13646 (partial) by updating spec file to require 'nc' for testsuite.
David Smith [Mon, 20 Feb 2012 22:51:33 +0000 (16:51 -0600)]
Fix PR13646 (partial) by updating spec file to require 'nc' for testsuite.

* systemtap.spec: Add 'nc' as a requirement for the 'systemtap-testsuite'
  rpm (since the new 'ipaddr' testcase uses it).

12 years agoFix PR13646 (partial) by adding a testcase and some fixes.
David Smith [Mon, 20 Feb 2012 22:48:38 +0000 (16:48 -0600)]
Fix PR13646 (partial) by adding a testcase and some fixes.

* tapset/ip.stp (format_ipaddr): Marked as 'pure' so that it can be
  optimized away.  Fixed handling of IPv6 addresses.
  (__ip_sock_saddr): Added support for IPv6 sockets.
  (__ip_sock_daddr): Ditto.
* tapset/tcp.stp: Added 'family' variable to tcp.recvmsg and
  tcp.recvmsg.return probes.
* tapset/nfs_proc.stp (AF_INET): Marked as 'pure' so that it can be
  optimized away.
  (AF_INET6): New function.
* testsuite/buildok/nfs_proc-embedded.stp: Added AF_INET6() compile test.
* testsuite/buildok/tcp-detailed.stp: Prints 'family' variable in
  tcp.recvmsg and tcp.recvmsg.return probes.
* testsuite/systemtap.base/ipaddr.exp: New testcase.
* testsuite/systemtap.base/ipaddr.txt: Ditto.
* testsuite/systemtap.base/ipaddr1.stp: Ditto.
* testsuite/systemtap.base/ipaddr2.stp: Ditto.

12 years agoFix PR13646 (partial) by handling IPv6 support in a module (for RHEL[56]).
David Smith [Thu, 16 Feb 2012 16:19:00 +0000 (10:19 -0600)]
Fix PR13646 (partial) by handling IPv6 support in a module (for RHEL[56]).

* tapset/ip.stp: Handle the case where IPv6 support is in a module (as
  it is on RHEL5 and RHEL6).

12 years agoFix PR13646 (partial) by properly converting IPv6 addresses to strings.
David Smith [Wed, 15 Feb 2012 22:04:47 +0000 (16:04 -0600)]
Fix PR13646 (partial) by properly converting IPv6 addresses to strings.

* tapset/ip.stp: Added the format_ipaddr() function to handle converting
  an IP address to a string.  The ip_ntop() function now just calls
  format_ipaddr().  Added the __ip_sock_family() function to return the IP
  address family for a 'struct inet_sock'.
* tapset/inet_sock.stp: The inet_get_ip_source() function uses
  format_ipaddr() to format an IP address as a string.  The
  daddr_to_string() function has been deprecated.
* tapset/rpc.stp: Make addr_from_rqst_str() handle IPv6 addresses.
* tapset/tcp.stp: Use format_ipaddr() instead of ip_ntop() to convert IP
  adresses to strings.
* runtime/loc2c-runtime.h (kderef_buffer): New function.
* testsuite/buildok/inet_sock-embedded.stp: Deprecated daddr_to_string()
  function test.
* testsuite/buildok/ip-embedded.stp: Added format_ipaddr() and
  __ip_sock_family() tests.
* NEWS: Mention daddr_to_string() deprecation.
* stap.1: Ditto.

12 years agoFixed PR13694 by returning proper value for tcp.sendmsg 'sock' variable.
David Smith [Wed, 15 Feb 2012 17:02:06 +0000 (11:02 -0600)]
Fixed PR13694 by returning proper value for tcp.sendmsg 'sock' variable.

* tapset/tcp.stp (tcp.sendmsg): Returns proper value for 'sock' local
  variable.

12 years agoUpdate 3 semok tests for RHEL4.
David Smith [Wed, 15 Feb 2012 15:20:57 +0000 (09:20 -0600)]
Update 3 semok tests for RHEL4.

* testsuite/semok/entry01.stp: Added 'kernel.function("filp_open")' probe
  point for RHEL4 (which doesn't have 'kernel.function("do_filp_open")'.
* testsuite/semok/entry03.stp: Ditto.
* testsuite/semok/kretprobe-data.stp: Added
  'kernel.function("path_lookup")' probe point for RHEL4 (which doesn't
  have 'kernel.function("do_path_lookup")'.

12 years agoMark semok uprobes tests as untested on platforms with no uprobes.
David Smith [Wed, 15 Feb 2012 15:19:14 +0000 (09:19 -0600)]
Mark semok uprobes tests as untested on platforms with no uprobes.

* testsuite/systemtap.pass1-4/semok.exp: Mark several tests as 'untested'
  on platforms that don't have uprobes.

12 years agoMake sure that procfs.c runtime code include <linux/mount.h>
William Cohen [Tue, 14 Feb 2012 16:02:51 +0000 (11:02 -0500)]
Make sure that procfs.c runtime code include <linux/mount.h>

On the arm architecture the <linux/mount.h> isn't pulled in by other
code.  This one line change makes sure that the include file gets
pulled in.  This allows the test using the procfs to build on arm.

12 years ago(Fixed PR13681) Bulk mode scripts no longer leave the module behind on rhel4.
David Smith [Fri, 10 Feb 2012 21:45:20 +0000 (15:45 -0600)]
(Fixed PR13681) Bulk mode scripts no longer leave the module behind on rhel4.

* runtime/staprun/relay_old.c (close_relayfs_files): 0 can be a valid
  relay_fd[cpu] value.
  (open_relayfs_files): On error, initialize relay_fd[cpu] to -1, not 0.
  (init_oldrelayfs): Initialize relay_fd[cpu] to -1, not 0.

12 years agoHandle missing inlined parameters for 'netdev.change_rx_flag'.
David Smith [Fri, 10 Feb 2012 17:02:00 +0000 (11:02 -0600)]
Handle missing inlined parameters for 'netdev.change_rx_flag'.

* tapset/networking.stp (netdev.change_rx_flag): Provide default values
  for missing inlined parameters.

12 years agoPR13609: Fixed compile issue using --without-nss
Chris Meek [Wed, 8 Feb 2012 19:57:56 +0000 (14:57 -0500)]
PR13609: Fixed compile issue using --without-nss

12 years agoFixed PR13672 by updating method used to get elevator names.
David Smith [Wed, 8 Feb 2012 18:48:46 +0000 (12:48 -0600)]
Fixed PR13672 by updating method used to get elevator names.

* tapset/ioscheduler.stp: Probes properly return the elevator name for 3.3
  kernels where the 'elevator_type' field was renamed 'type'.

12 years agoPR1609: Fixed NSPR dependency
Chris Meek [Wed, 8 Feb 2012 15:43:26 +0000 (10:43 -0500)]
PR1609: Fixed NSPR dependency

12 years agoFixed PR13670 by getting task_dentry_path() working on 3.3 kernels.
David Smith [Wed, 8 Feb 2012 14:55:49 +0000 (08:55 -0600)]
Fixed PR13670 by getting task_dentry_path() working on 3.3 kernels.

* tapset/dentry.stp (real_mount): New function.
  (task_dentry_path): Uses real_mount() to get the 'struct mount' pointer
  for a 'struct vfsmount' pointer (needed on 3.3 kernels).
* testsuite/buildok/dentry-embedded.stp: Added real_mount() test.

12 years agoPR13609: tweak documentation wording
Frank Ch. Eigler [Wed, 8 Feb 2012 00:53:37 +0000 (19:53 -0500)]
PR13609: tweak documentation wording

12 years agoPR13609 Cont'd: Added NEWS and man page entries
Chris Meek [Tue, 7 Feb 2012 22:09:15 +0000 (17:09 -0500)]
PR13609 Cont'd: Added NEWS and man page entries

12 years agoPR13609: Parallel Server Connections
Chris Meek [Tue, 7 Feb 2012 21:23:08 +0000 (16:23 -0500)]
PR13609: Parallel Server Connections

Used pthreads to parallelize the server. A new thread is created to
handle each incomming connection. The maximum number of threads
created is limited by the new --max-threads=N option. If a value of
0 is passed, no new threads are created and each connection is
handled in the main thread, in serial. The default value is
equal to the number of processors on the host.

12 years agoGet all source line matches for statement probes.
Stan Cox [Tue, 7 Feb 2012 21:47:44 +0000 (16:47 -0500)]
Get all source line matches for statement probes.

* dwflpp.cxx (iterate_over_srcfile_lines): Pass nsrcs=0 to
  dwarf_getsrc_file so all source matches are returned instead of just
  nsrcs=N matches.
* (has_single_line_record): Fix indentation.  No other changes.

12 years agoFix PR13646 (partial) by improving use of 'AF_NET'.
David Smith [Tue, 7 Feb 2012 21:35:46 +0000 (15:35 -0600)]
Fix PR13646 (partial) by improving use of 'AF_NET'.

* tapset/nfs_proc.stp: Added copyright header. Change AF_INET() to just do
  'return %{ AF_INET %}'. Changed NFS_I() to used in-line embedded-C to
  get 'AF_INET'.
* tapset/rpc.stp: Use in-line embedded-C to get 'AF_INET' instead of
  calling AF_INET().
* testsuite/systemtap.examples/process/pfiles.stp: Use in-line embedded-C
  to get 'AF_UNIX', 'AF_INET', and 'AF_NET6'.

12 years agoremove grapher
Frank Ch. Eigler [Tue, 7 Feb 2012 21:04:51 +0000 (16:04 -0500)]
remove grapher

Deprecated and unmaintained, time to delete this subpackage.

12 years agoAvoid changing the linebreak in tapset.xml
William Cohen [Tue, 7 Feb 2012 18:16:58 +0000 (13:16 -0500)]
Avoid changing the linebreak in tapset.xml

There are cases where the linebreaks mess up the output for the man pages.
Removing the '<xsl:strip-space elements="*"/>' in sort-tapsets.xslt avoids
these issues.

12 years agoProperly quote minus sign in man pages
Timo Juhani Lindfors [Mon, 6 Feb 2012 13:34:59 +0000 (15:34 +0200)]
Properly quote minus sign in man pages

12 years agoFix more spelling errors
Timo Juhani Lindfors [Mon, 6 Feb 2012 13:34:38 +0000 (15:34 +0200)]
Fix more spelling errors

12 years agoFix spelling errors
Timo Juhani Lindfors [Mon, 6 Feb 2012 11:00:37 +0000 (13:00 +0200)]
Fix spelling errors

12 years agoRHBZ717123: mention /etc/login.defs when mentioning uid>500 tests
Frank Ch. Eigler [Fri, 3 Feb 2012 19:31:30 +0000 (14:31 -0500)]
RHBZ717123: mention /etc/login.defs when mentioning uid>500 tests

12 years agoUpdate Copyright information in SystemTap Tapset Reference Manual
William Cohen [Fri, 3 Feb 2012 16:24:22 +0000 (11:24 -0500)]
Update Copyright information in SystemTap Tapset Reference Manual

12 years agoUpdate some versoin and year in the SystemTap Beginners Guide
William Cohen [Fri, 3 Feb 2012 16:21:48 +0000 (11:21 -0500)]
Update some versoin and year in the SystemTap Beginners Guide

12 years agoAdd a comment clarifying GFP_ATOMIC need for PR13641
David Smith [Thu, 2 Feb 2012 16:53:00 +0000 (10:53 -0600)]
Add a comment clarifying GFP_ATOMIC need for PR13641

* testsuite/systemtap.examples/process/pfiles.stp: Add a comment
  describing why we need GFP_ATOMIC.

12 years agoFix PR13641 by not calling a sleeping function from an invalid context.
David Smith [Thu, 2 Feb 2012 16:36:44 +0000 (10:36 -0600)]
Fix PR13641 by not calling a sleeping function from an invalid context.

* testsuite/systemtap.examples/process/pfiles.stp: To avoid the
  possibility of sleeping while holding a lock, change GFP_KERNEL
  allocation to GFP_ATOMIC allocation.  Also convert i_mode2str() from an
  embedded-C function.

12 years agoMake stopwatches.stp example executable.
Mark Wielaard [Thu, 2 Feb 2012 08:39:41 +0000 (09:39 +0100)]
Make stopwatches.stp example executable.

12 years agopost-release version bump to 1.8
Frank Ch. Eigler [Thu, 2 Feb 2012 04:12:17 +0000 (23:12 -0500)]
post-release version bump to 1.8

12 years agorelease 1.7 prep release-1.7
Frank Ch. Eigler [Thu, 2 Feb 2012 02:25:30 +0000 (21:25 -0500)]
release 1.7 prep

12 years agoi18n: update-po
Frank Ch. Eigler [Wed, 1 Feb 2012 18:29:45 +0000 (13:29 -0500)]
i18n: update-po

12 years agoMove warnings for embedded privilege credentials in modules to -v.
Dave Brolley [Wed, 1 Feb 2012 17:48:45 +0000 (12:48 -0500)]
Move warnings for embedded privilege credentials in modules to -v.

12 years agoGive information about online servers and which servers were specified when no suitab...
Dave Brolley [Wed, 1 Feb 2012 16:58:34 +0000 (11:58 -0500)]
Give information about online servers and which servers were specified when no suitable servers are found.

12 years agoruntime: document reason runtime/staprun* are compiled with -Wno-format-nonliteral
Frank Ch. Eigler [Wed, 1 Feb 2012 17:19:03 +0000 (12:19 -0500)]
runtime: document reason runtime/staprun* are compiled with -Wno-format-nonliteral

12 years agoModiified eventcount.stp example to wrap the map
Chris Meek [Wed, 1 Feb 2012 17:05:58 +0000 (12:05 -0500)]
Modiified eventcount.stp example to wrap the map

general/eventcount.stp example now has a sample of map wrapping.

12 years agobump copyright date on startup message
Frank Ch. Eigler [Wed, 1 Feb 2012 16:05:44 +0000 (11:05 -0500)]
bump copyright date on startup message

12 years agoMerge branch 'mjw/create_atomic'
Mark Wielaard [Wed, 1 Feb 2012 13:08:14 +0000 (14:08 +0100)]
Merge branch 'mjw/create_atomic'

12 years agoPR13640: don't start stap-server service by default
Frank Ch. Eigler [Wed, 1 Feb 2012 12:42:52 +0000 (07:42 -0500)]
PR13640: don't start stap-server service by default

12 years agotestsuite: make #! .stp files executable to make rpmlint happy
Frank Ch. Eigler [Wed, 1 Feb 2012 12:40:42 +0000 (07:40 -0500)]
testsuite: make #! .stp files executable to make rpmlint happy

12 years agoPR13461: systemtap.spec: reorganize subpackages, new -client, -devel
Frank Ch. Eigler [Tue, 31 Jan 2012 21:12:43 +0000 (16:12 -0500)]
PR13461: systemtap.spec: reorganize subpackages, new -client, -devel

12 years agoutrace_compatibility.h: Fix typo/thinko in UTRACE_ATTACH_ATOMIC comment.
Mark Wielaard [Wed, 1 Feb 2012 12:25:13 +0000 (13:25 +0100)]
utrace_compatibility.h: Fix typo/thinko in UTRACE_ATTACH_ATOMIC comment.

s/non-interrupt/interrupt/ context.

12 years agotapset/task.stp (pid2task) Extend scope of rcu_read_lock to include pid2task.
Mark Wielaard [Wed, 1 Feb 2012 11:58:39 +0000 (12:58 +0100)]
tapset/task.stp (pid2task) Extend scope of rcu_read_lock to include pid2task.

12 years agoitrace.c: rcu_dereference needs to be called under rcu_read_lock.
Mark Wielaard [Wed, 1 Feb 2012 09:53:25 +0000 (10:53 +0100)]
itrace.c: rcu_dereference needs to be called under rcu_read_lock.

12 years agoUse UTRACE_ATTACH_ATOMIC when calling utrace create under lock.
Mark Wielaard [Tue, 31 Jan 2012 22:06:30 +0000 (23:06 +0100)]
Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock.

UTRACE_ATTACH_ATOMIC is very new, but we need it when calling
utrace create while holding a lock or in interrupt context.
If it doesn't exist we do as before (define it as zero).

See http://sourceware.org/ml/systemtap/2011-q4/msg00340.html

12 years agoUpdates the example indices.
William Cohen [Tue, 31 Jan 2012 16:53:51 +0000 (11:53 -0500)]
Updates the example indices.

12 years agoAdd example and buildok test for stopwatch.stp tapset
William Cohen [Tue, 31 Jan 2012 16:51:36 +0000 (11:51 -0500)]
Add example and buildok test for stopwatch.stp tapset

12 years agoAdd the stopwatch.stp tapset
William Cohen [Tue, 31 Jan 2012 15:50:53 +0000 (10:50 -0500)]
Add the stopwatch.stp tapset

The stopwatch.stp tapset provides multiple, independent timers to user
scripts.  Stopwatches can be created by the user script at
anytime. The created stopwatches can be stopped and started by the
user script. The times from the stopwatches can be read in seconds,
milliseconds, microsecons, and nanoseconds.

Signed-off-by: William Cohen <wcohen@redhat.com>
12 years agoPR12773 Update: Fixed abrt install path
Chris Meek [Tue, 31 Jan 2012 16:28:49 +0000 (11:28 -0500)]
PR12773 Update: Fixed abrt install path

abrt-action-install-debuginfo-to-abrt-cache is now
installed in /usr/libexec/ rather than in /usr/bin/.

It now checks both paths, so it should work with
older versions of abrt as well as the newest ones.

12 years ago13631 - Detection of Reqested Privilege Level in stap-serverd
Dave Brolley [Mon, 30 Jan 2012 20:42:54 +0000 (15:42 -0500)]
13631 - Detection of Reqested Privilege Level in stap-serverd

Test for the privilege levels which require signing explicitely.

12 years agoPR 13631 and other rework of multi-privilege level support
Dave Brolley [Mon, 30 Jan 2012 18:40:16 +0000 (13:40 -0500)]
PR 13631 and other rework of multi-privilege level support

  - PR 13631 - Detection of Reqested Privilege Level in stap-server
    - Parsing of the client's command now uses getopt_long and shares
      the getopt input with session.cxx
      - cmdline.cxx, cmdline.h
  - Do not allow multiple privilege-setting options to specify
    different privilege levels.
  - No longer a need for stap-serverd to generate a --privilege
    option for the spawned stap.
  - stap-serverd cannot (and no longer does) rely on knowledge of
    the highest signed privilege level when evaluating the user's
    credentials.
  - Simplified user credentials test against those required by the module
    in stap-serverd.
  - Some kernel.* probes were being registered for use by stapdev only.
    Corrected to be stapdev | stapsys.
    - Corrected testsuite problem which was hiding this bug.

12 years agotask_finder2: update an unprivileged check for stapsys
Josh Stone [Sat, 28 Jan 2012 00:16:56 +0000 (16:16 -0800)]
task_finder2: update an unprivileged check for stapsys

* runtime/task_finder2.c (stap_start_task_finder): Update the macro
  around the "only probe their own threads" check to exempt both stapdev
  and stapsys modules (as __stp_utrace_attach_match_filename does).

12 years agoAUTHORS bump
Frank Ch. Eigler [Fri, 27 Jan 2012 16:38:31 +0000 (11:38 -0500)]
AUTHORS bump

12 years agoPR13628: override LANG for stap-prep operation in non-english locales
Otavio Pontes [Fri, 27 Jan 2012 14:20:24 +0000 (09:20 -0500)]
PR13628: override LANG for stap-prep operation in non-english locales

12 years agoPR13626 Add extra whitespace in sdt.h to deal with C11/C++11 UDF.
Mark Wielaard [Thu, 26 Jan 2012 22:58:38 +0000 (23:58 +0100)]
PR13626 Add extra whitespace in sdt.h to deal with C11/C++11 UDF.

gcc 4.7 supports C11/C++11 user defined literals (UDF):
https://en.wikipedia.org/wiki/C%2B%2B11#User-defined_literals
In std=c++0x mode one now needs to add whitespace between string literals.
See http://gcc.gnu.org/gcc-4.7/porting_to.html

12 years agoPR13546 Cont'd: Added stress tests
Chris Meek [Thu, 26 Jan 2012 21:17:50 +0000 (16:17 -0500)]
PR13546 Cont'd: Added stress tests

Tests both normal and statistics arrays with integer,
string and two string keys with 2048 enties each.

12 years agoPR13546 Cont'd: Updated NEWS
Chris Meek [Thu, 26 Jan 2012 19:01:26 +0000 (14:01 -0500)]
PR13546 Cont'd: Updated NEWS

12 years agoPR13546 Cont'd: Fixed failing test cases
Chris Meek [Thu, 26 Jan 2012 18:56:07 +0000 (13:56 -0500)]
PR13546 Cont'd: Fixed failing test cases

Since we introduced a random seed to the hash function,
certain tests that printed results in an unordered
fashion could now fail, since the order is not necessarily
the same from run to run. These tests have been fixed and now
print in a certain order as to avoid those errors.

12 years agoPR13546 - Improve Map Hashing
Chris Meek [Thu, 26 Jan 2012 18:48:46 +0000 (13:48 -0500)]
PR13546 - Improve Map Hashing

- Made str_hash() in map.c more hashy.
- Introduced a runtime random seed to the hash calculations
  to reduce the chance of deliberate hash collision inducing
  attacks.
- Made the HASH_TABLE_SIZE depend on MAXMAPENTRIES, rather than
  just a static 256. This effectivly increases the size of the
  hash table.

This page took 0.062552 seconds and 5 git commands to generate.