summaryrefslogtreecommitdiffstats
path: root/tapset/context.stp
Commit message (Collapse)AuthorAgeFilesLines
* Add pgrp() context tapset function. Describe sid().Przemyslaw Pawelczyk2009-06-151-0/+13
| | | | | | | | * tapset/context.stp: Add pgrp() function. * testsuite/buildok/context_test.stp: Add pgrp() call. * stapfuncs.3stap.in: Describe pgrp() and sid(). Signed-off-by: Josh Stone <jistone@redhat.com>
* Adapt sid to latest kernelWenji Huang2009-05-191-0/+4
|
* context tapset: sid() function to return task session leader pidMalte Nuhn2009-05-081-0/+12
|
* Fixed uaddr tapset function for ppc64 by adding task_pt_regs() definition.David Smith2009-04-301-0/+6
| | | | | | PR10117 fix. * tapset/context.stp: Added ppc64 task_pt_regs() definition if it dooesn't already exist.
* Mark uaddr tapset function as EXPERIMENTAL.Mark Wielaard2009-04-231-2/+4
| | | | | * tapset/context.stp (uaddr): Marked as experimental. Add FIXME for vdso tracking bug #10080.
* Add uaddr() context tapset function.Mark Wielaard2009-04-081-0/+25
| | | | | * tapset/context.stp (uaddr): New sfunction. * testsuite/buildok/uaddr.stp: New test.
* minor editsddomingo2009-03-171-2/+3
|
* minor editsddomingo2009-03-171-48/+22
|
* fixed format of non-grabbable comments (for Tapset Reference Guide), added ↵ddomingo2009-03-161-1/+5
| | | | tapsetdescription for man page generator (in development)
* PR9699: tapset changes for STAPCONF_TASK_UID for *uid()/*gid() callsFrank Ch. Eigler2009-01-061-1/+17
|
* PR6965 - Conditionally compile symbol table. Split context.stp into 3 files.Elliott Baron2008-11-281-136/+0
|
* Add context, timestamp, memory, and networking tapsets.William Cohen2008-11-251-207/+144
|
* added remark tag for FIXMEsddomingo2008-11-141-3/+3
|
* Remove cpuid() documentation.William Cohen2008-11-121-9/+1
|
* Add documentation for context.stp and networking.stp.William Cohen2008-11-111-7/+232
|
* Fix PR 6732: Add runtime/autoconf-real-parent.c check for task_struct field.Mark Wielaard2008-07-091-0/+8
|
* Add user_mode function to tapset and document.William Cohen2008-06-121-0/+12
|
* Fix PR 6582: verify CONTEXT->regs in [u_]register()Jim Keniston2008-05-291-0/+4
|
* 2.6.25 fixes and stack level limits.Martin Hunt2008-04-151-2/+2
|
* 2007-08-27 Martin Hunt <hunt@redhat.com>hunt2007-08-271-0/+4
| | | | | | | * context.stp (module_name): New. Returns the current module name. * tcp.stp (tcp_sendmsg): For 2.6.23, parameters change.
* 2007-08-15 Frank Ch. Eigler <fche@elastic.org>fche2007-08-151-2/+2
| | | | * context.stp (cpuid, cpu): Use smp_processor_id().
* 2007-07-02 Martin Hunt <hunt@redhat.com>hunt2007-07-021-0/+2
| | | | | * context.stp (print_backtrace): If no regs, just print the probe point.
* 2007-01-31 Martin Hunt <hunt@redhat.com>hunt2007-01-311-14/+9
| | | | | | | | * context.stp (print_backtrace): Modify for new _stp_stack_print. (backtrace): Just use _stp_stack_snprint(). (print_stack): Use new _stp_print* functions. (probefunc): Use _stp_symbol_snprint.
* 2006-11-20 Frank Ch. Eigler <fche@elastic.org>fche2006-11-201-1/+1
| | | | * context.stp (caller_addr): Declare return type.
* 2006-10-29 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-10-291-1/+5
| | | | | * context.stp: Added proper handling of statement * probe in probefunc() for IA64 (bz# 3423)
* 2006-10-12 Martin Hunt <hunt@redhat.com>hunt2006-10-121-7/+42
| | | | | | | | | | | | * context.stp (print_backtrace): Pass in new kretprobe instance arg. (backtrace): Ditto. (is_return): Rewrite. (stack_size): New. (stack_used): New. (stack_unused): New. (called_addr): New. (caller): New.
* 2006-10-04 Frank Ch. Eigler <fche@elastic.org>fche2006-10-041-3/+5
| | | | | * context.stp (probefunc): Return empty string for userspace (< PAGE_OFFSET) pointers.
* 2006-08-08 Eugene Teo <eteo@redhat.com>eteo2006-08-081-0/+17
| | | | | | * tapset/context.stp (probemod): New function. * stapfuncs.5.in: Document it. * testsuite/buildok/probemod.stp: Test it.
* Modified probefunc() to print consistent name on ppc64tpnguyen2006-07-181-1/+2
|
* 2006-07-17 David Smith <dsmith@redhat.com>dsmith2006-07-171-2/+0
| | | | | | * context.stp: Removed returnval() function. Use $return instead. * return.stp: Removed. Use $return instead.
* 2006-05-24 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-241-19/+11
| | | | | | | PR 2677 * sym.c (_stp_symbol_sprint_basic): New function that returns just the symbol name, and doesn't bother with String. * context.stp (probefunc): Use _stp_symbol_sprint_basic
* Check into CVS the tracing specific tapsets used by LKET.guanglei2006-05-181-0/+4
| | | | And some minor changes to current tapsets
* 2006-05-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-091-7/+4
| | | | * context.stp (probefunc): remove use of labels
* 2006-05-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-091-2/+3
| | | | * context.stp (probefunc): define our own exit label
* Reorganize so that the compiler knows that ptr is initializedjistone2006-05-091-6/+3
|
* 2006-05-08 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-081-4/+32
| | | | | | | PR 2594 From Thang P Nguyen <thang.p.nguyen@intel.com> * context.stp (probefunc): expands ability to detect the function for different types of probes.
* 2006-05-03 Frank Ch. Eigler <fche@elastic.org>fche2006-05-031-18/+1
| | | | * context.stp, errno.stp: Note/eliminate some retval() duplication.
* 2006-04-25 Frank Ch. Eigler <fche@elastic.org>fche2006-04-251-17/+17
| | | | | | | | | | | | | | | | | PR 2427. * staptree.cxx (varuse_collecting_visitor::visit_embeddedcode): Support /* pure */ declaration. Stop using __tvar_ naming hack. (v_c_u::visit_print_format): Mark sprint and sprintf as side-effect-free. (deep_copy_visitor::visit_print_format): Propagate raw_components. * stap.1.in: Document declaration. * elaborate.cxx (semantic_pass_opt2): Verbose message tweak. (dead_stmtexpr_remover): Extend for more aggressive optimization. * tapsets.cxx (dwarf,mark_var_expanding_copy_visotor): Add /* pure */ declaration to rvalue expansions. * tapset/*.stp: Added /* pure */ declarations to many functions. * testsuite/parseok/unparsers.stp: Propagate guru mode flag. * testsuite/buildok/twentyfour.stp: New test.
* 2006-02-21 Martin Hunt <hunt@redhat.com>hunt2006-02-211-3/+16
| | | | | * context.stp: Fix definition of returnval(). Now the same as retval(). Cleanup needed. Only one can survive.
* 2006-02-17 Frank Ch. Eigler <fche@elastic.org>fche2006-02-171-0/+4
| | | | | | * stapfuncs.5.in (cpu): Document contextinfo function. * context.stp (cpu): Clone undocumented cpuid() function.
* 2006-02-01 Martin Hunt <hunt@redhat.com>hunt2006-02-011-1/+1
| | | | | | | * syscalls.stp: New syscall file. * syscall2.stp: More syscalls. * i686/syscalls.stp: x86-specific calls. * x86_64/syscalls.stp: x86_64-specific calls.
* 2006-01-30 Martin Hunt <hunt@redhat.com>hunt2006-01-311-0/+25
| | | | | | * context.stp (probefunc): New function. (is_return): New function. (returnval): New function.
* Added cpuid().hien2005-12-151-0/+3
|
* 2005-12-12 Josh Stone <joshua.i.stone@intel.com>jistone2005-12-121-36/+9
| | | | | | * tapset/context.stp (execname,pid,tid,ppid,pexecname,gid,egid,uid,euid): Removed in_interrupt checks and other pointer checks. We now operate on the assumption that "current" and its related data are always valid.
* 2005-11-09 Frank Ch. Eigler <fche@elastic.org>fche2005-11-091-2/+9
| | | | | | Reported by Guang Lei Li <liguangl@cn.ibm.com>: * tapset/context.stp (pid,ppid,tid): Correctly pick tgid vs pid. * testsuite/buildok/context_test.stp: Print out tid() too.
* gpl headersfche2005-09-281-0/+8
|
* 2005-09-06 Martin Hunt <hunt@redhat.com>hunt2005-09-061-0/+5
| | | | | | | | | | | | * tapset/context.stp: Add function target(). * stapfuncs.5.in (target): Document it. * elaborate.h (struct systemtap_session): Add cmd and target_pid to the struct. * main.cxx (usage): Add secriptions of "-c" and "-x" options. (main): Set s.cmd and s.target_pid. * buildrun.cxx (stringify): Copy this utility func here too. (run_pass): Add new options to set cmd and pid to the stpd command line.
* 2005-09-05 Frank Ch. Eigler <fche@elastic.org>fche2005-09-051-0/+4
| | | | | | | | | | | | | | | | | PR 1172. * staptree.h, staptree.cxx: Make all ::print*(), operator<< functions take const staptree objects. (literal_string::print): \-prefix double-quotes. * translate.cxx (emit_common_header): Add context probe_point field. Switch to atomic_t busy flags. (emit_module_exit): Use atomic operations for busy flag. (visit_*): Use lex_cast_qstring for last_stmt strings. * tapsets.cxx (lex_cast_quoted): \-prefix double-quotes too. (*::emit_probe_entries): Populate probe_point. Use atomic operations for busy flag. * tapset/context.stp (pp): New function. * stapfuncs.5.in: Document it. * testsuite/buildok/context_test.stp: Test it.
* 2005-09-04 Martin Hunt <hunt@redhat.com>hunt2005-09-041-3/+2
| | | | | | | * testsuite/buildok/context_test.stp: New test. * tapset/logging.stp (log): Call _stp_printf(). * stapfuncs.5.in: Add contextinfo funcs. * tapset/context.stp: Minor cleanup.
* 2005-09-03 Frank Ch. Eigler <fche@elastic.org>fche2005-09-031-1/+3
| | | | | | | | PR 1187 prime * tapset.cxx (literal_stmt_for_local): Don't automgaically copy target char*'s to systemtap strings. * tapset/conversions.stp (user_string, kernel_string): New functions. * stapfuncs.5.in: Document new functions.