| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
* alloc.c: Use DEFINE_SPINLOCK.
* counter.c: Ditto.
* pmap-gen.c: Ditto.
* print_new.c: Ditto.
* stat.c: Ditto.
|
|
|
|
| |
* control.c, procfs.c, symbols.c: Use DEFINE_SPINLOCK
|
|
|
|
|
| |
* tapsets.cxx (dwarf_derived_probe_group::emit_module_decls):
Added 'const' to several members of stap_dwarf_probes.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
PR 5685. From Eugeniy Meshcheryakov <eugen@debian.org>
* configure.ac: If "--enable-sqlite" is specified, define
HAVE_LIBSQLITE3.
* configure: Regenerated.
|
|
|
|
| |
* stack-i386.c (__stp_stack_print): Correct #elif->#else typo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-26 Frank Ch. Eigler <fche@elastic.org>
PR 5673.
* tapsets.cxx (dwarf_derived_probe_group): Split stap_dwarf_probes[]
into bss-carried kprobes structs. Tune embedded strings for
minimizing relocation-vs-fixed-buffer wastage.
* tapsets.cxx (dwarf_derived_probe): Impose .maxactive() limits.
2008-01-26 Frank Ch. Eigler <fche@elastic.org>
PR 5673.
* testsuite/parseko/maxactive{04,05}.stp: New tests.
|
|
|
|
|
|
|
| |
calls to access_process_vm() when populating instructions
slots. Fixes an SMP bug on multithreaded apps with many
active probepoints.
* runtime/uprobes/uprobes.h: Ditto
|
|
|
|
|
|
|
|
|
|
| |
2008-01-25 Frank Ch. Eigler <fche@elastic.org>
PR 5672.
* staptree.cxx (probe_point copy ctor): New function.
* staptree.h: Declare it.
* tapsets.cxx (dwarf_derived_probe ctor): Call it to shallow-copy
incoming base probe location before recomputing/overwriting it.
|
|
|
|
| |
* configure: Correctly regenerated.
|
|
|
|
|
|
| |
* configure.ac: Compressed the two perfmon options into one.
Made other small fixes and whitespace changes.
* configure: Regenerated.
|
|
|
|
|
| |
PR5554
* syscalls.stp (__is_user_regs): Modify to work with older kernels.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-24 Frank Ch. Eigler <fche@elastic.org>
* Makefile.am: Make another $(MKDIR) call visible.
* Makefile.in: Regenerated.
2008-01-24 Frank Ch. Eigler <fche@elastic.org>
crash(8) tests, based on Masami Hiramatsu <mhiramat@redhat.com>:
* Makefile.am (CRASH_LIBDIR): Pass in $(RUNTEST).
* lib/systemtap.exp (as_root): Trace command string, output, and
result.
* sysetmtap.samples/crash.*, testlog.stp: New test case.
* Makefile.in: Regenerated.
|
|
|
|
|
|
|
|
|
| |
PR 5661 (reverted).
* configure.ac: Removed elfutils version number check.
* configure: Regenerated.
* acsite.m4: Removed.
* systemtap.spec.in: Minimum elfutils version number is no longer
filled in by configure.
|
|
|
|
|
|
|
|
|
|
| |
PR 5650 (partial).
* configure.ac: Handles sqlite optional functionality correctly.
If enabled/disabled by the user, do the right thing. If not
specified by the user, use it if present.
* configure: Regenerated.
* systemtap.spec.in: Always specify to configure whether to use
sqlite or not.
|
|
|
|
|
|
|
| |
PR5554
* syscalls.stp (__is_user_regs): Add new function to check whether
pt_regs is user mode registers.
(syscall.fork): Use __is_user_regs() to decide syscall name.
|
|
|
|
|
|
|
|
| |
PR 5017.
* staptree.cxx (<cstring>): #include it.
(required <indexable *>): Remove 'static' from instantiation and
move instantiation to here from...
* staptree.h: ...here.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-23 Frank Ch. Eigler <fche@elastic.org>
PR 2151
* tapsets.cxx (dwflpp::setup): Parametrize debuginfo_path.
* stap.1.in: Document this.
PR 2521.
* systemtap.base/debugpath.exp: New test.
|
|
|
|
|
|
|
|
|
|
| |
PR 5661.
* configure.ac: Checks elfutils version number.
* acsite.m4: New file containing macro to return elfutils version
number.
* configure: Regenerated.
* systemtap.spec.in: Minimum elfutils version number is now filled
in by configure.
|
|
|
|
|
|
|
| |
* translate.cxx (var::fini): New method.
(c_unparser::emit_module_init): Call var::fini when deregistering
variables without indices.
(c_unparser::emit_module_exit): Likewise.
|
|
|
|
| |
rcu_dereferences of engine->data to resync with kernel.org builds.
|
| |
|
|
|
|
|
| |
* symbols.c (send_module): Simplify and use new send_data() function to keep
longword alignment.
|
|
|
|
| |
access_process_vm(), for kernels that don't export it.
|
|
|
|
|
|
|
| |
2008-01-18 Frank Ch. Eigler <fche@elastic.org>
* configure.ac, systemtap.spec.in: Update version to 0.6.1
* configure: Regenerated.
|
|
|
|
| |
* systemtap.spec.in: Update version to 0.6-3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-17 Frank Ch. Eigler <fche@elastic.org>
PR 4935.
Reorganize probe condition implementation.
* elaborate.cxx (add_condition): New function.
(derived_probe): Remove condition member.
(derived_probe ctors): Assert non-null incoming probe/location ptrs.
(insert_condition_statement): Remove; turn into ...
(semantic_pass_conditions): New pass-2 subpass.
(semantic_pass_symbols, visit_symbol, visit_functioncall, find_var):
Detect some condition-related error cases.
(match_key): Change type to exp_type from tok_type. Update callers.
(alias_expansion_builder): Propagate probe conditions.
* staptree.cxx (probe): Remove condition field and related functions.
* tapsets.cxx (dwarf_derived_probe ctor): Compute replacement
wildcard-expanded probe_point preserving more of the original
location.
(mark_derived_probe ctor): Make similar to others - take location
rather than condition parameters.
* translate.cxx (emit_common_header): Tweak ordering of tmpcounter
traversal and hashkey expression generation.
* elaborate.h: Corresponding changes.
2008-01-17 Frank Ch. Eigler <fche@elastic.org>
PR 4935.
* semko/forty.stp, fortyone.stp, fortytwo.stp: New tests.
* semok/twentynine.stp: Weaken test since condition expressions have
become more tightly constrained.
|
|
|
|
| |
patch for x86/x86_64
|
|
|
|
|
|
|
| |
* tapsets.cxx
(perfmon_var_expanding_copy_visitor::visit_target_symbol): Print an
error when trying to use the perfmon target variable '$counter as
an array or structure.
|
|
|
|
|
|
| |
* semko/procfs11.stp: Added test for invalid use of procfs probe
'$value' target variable.
* semko/procfs12.stp: Ditto.
|
|
|
|
|
|
|
| |
* tapsets.cxx
(procfs_var_expanding_copy_visitor::visit_target_symbol): Print an
error when trying to use the procfs target variable '$value' as an
array or structure.
|
| |
|
|
|
|
|
|
| |
PR 5608.
* systemtap.base/marker.exp: Added 2 tests for treating marker
arguments incorrectly.
|
|
|
|
|
|
| |
PR 5608.
* tapsets.cxx (visit_target_symbol): Print an error when trying to
use a marker argument as an array or structure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* stapfuncs.5.in: Document signal.stp tapset functions.
2008-01-16 Eugene Teo <eteo@redhat.com>
* signal.stp (get_sa_flags, get_sa_handler): New functions to
return addresses of sa_flags and sa_handler of struct k_sigaction.
(sigset_mask_str): New function. Returns a string containing the
set of signals to be blocked when executing the signal handler.
(is_sig_blocked): New function. Checks task_struct->blocked signal
mask for signals that are currently blocked.
(signal_str): New function. Translates a signal number.
(sa_flags_str): New function. Translates the sa_flags.
(sa_handler_str): New function. Returns the signal action or handler
associated to the signal.
2008-01-16 Eugene Teo <eteo@redhat.com>
* buildok/signal-embedded.stp: Add all new embedded C functions
in signal.
|
| |
|
|
|
|
|
| |
* translate.cxx (emit_module_init): Call _stp_print_kernel_info()
to print out version information and internal memory usage stats.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* translate.cxx (emit_module_exit): When using timing, delete timing
stats when finished.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-12 Frank Ch. Eigler <fche@elastic.org>
* configure.ac: Generate a build tree SNAPSHOT file from git-rev-list,
if we suspect the source tree came from git.
* configure: Regenerated.
2008-01-12 Frank Ch. Eigler <fche@elastic.org>
* lib/systemtap.exp (get_system_info): Look for $builddir/SNAPSHOT too.
|
|
|
|
|
|
|
| |
2008-01-12 Frank Ch. Eigler <fche@elastic.org>
PR 5603 horrible hack.
* symbols.c (do_kernel_symbols): Make buf[256] instead of [128].
|
|
|
|
|
|
|
|
|
| |
2008-01-12 Frank Ch. Eigler <fche@elastic.org>
PR 5603.
* configure.ac: Add "--enable-ssp" to select -fstack-protector-all
and similar runtime checking directives.
* configure: Regenerated.
|
|
|
|
| |
From: Chris Snook
|