summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2006-05-23 David Smith <dsmith@redhat.com>dsmith2006-05-232-1/+5
| | | | * parse.cxx (parse_for_loop): Corrected error message.
* 2006-05-22 David Smith <dsmith@redhat.com>dsmith2006-05-222-25/+32
| | | | | * elaborate.cxx (find_and_build): Fixed issue #2643. Wildcard code was being too optimistic.
* check in the draft man page for lketguanglei2006-05-225-3/+296
|
* Patch from Mao Bibo to change %lx to %llx in snprintf of tapset/aux_syscalls.stpguanglei2006-05-192-2/+8
| | | | to print the address in IA64
* change $q->elevator.elevator_name to $q->elevator->elevator_name in ↵guanglei2006-05-192-3/+8
| | | | tapset/ioscheduler.stp
* Some typos during my recent checkinsguanglei2006-05-193-6/+5
|
* 2006-05-18 Frank Ch. Eigler <fche@elastic.org>fche2006-05-188-53/+106
| | | | | | | | | | | | | | | | | | | | | | | Organize "-t" output by script/parse level probes rather than derived-probes. * elaborate.cxx (derived_probe ctor): Remove name field setting. (alias_derived_probe): New class. (alias_expandion_builder::build): Create an instance of the above instead of parse-tree-level plain probe. * elaborate.h: Corresponding changes. (derived_probe::basest): Define. * staptree.cxx (probe ctor): Set new name field. * staptree.h (probe): Corresponding changes. (probe::basest): New field. * tapsets.cxx (emit_probe_prologue, emit_probe_entries): Switch to basest() probe name for Stat instance. (dwarf_derived_probe ctor): Stash away base probe. * translate.cxx (unparser::emit_probe): Remove index operand, just use probe name to generate symbols. (emit_module_init): Reorganize -t output in unregister functions. (translate_pass): Remove unparser::current_probenum field and all uses. * translate.h: Corresponding changes.
* 2006-05-18 Martin Hunt <hunt@redhat.com>hunt2006-05-182-0/+6
| | | | | * librelay.c (stp_main_loop): Set output to always be line buffered.
* Check into CVS the tracing specific tapsets used by LKET.guanglei2006-05-1815-1/+951
| | | | And some minor changes to current tapsets
* merge tskschedule.stp into scheduler.stpguanglei2006-05-186-33/+43
|
* 2006-05-17 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-185-0/+180
| | | | | | * testsuite/buildok/sched_test.stp: test scheduler tapset * examples/small_demos/sched_snoop.stp: demo scheduler tapset * tapset/scheduler.stp: New scheduler tapset
* testcases checking in for ioscheduler.stp, memory.stp, networking.stp,guanglei2006-05-187-0/+78
| | | | scsi.stp, tskschedule.stp
* 2006-05-17 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-184-16/+23
| | | | | | | * process.stp: Rename signal.send to signal_send and process.complete to process_complete, to allow process.* to work properly. * process.stp (_IS_ERR): declare parameter type * process.stp (process.create): correct new_pid assignment
* I break LKET into layered structure. The first layer is those generic tapsets.guanglei2006-05-187-0/+250
| | | | | | The second layer is tracing specific. I checked into CVS those generic tapsets at the first step.
* Comment out accessing regs variable in sys_rt_sigsuspend (can't resolve it inhien2006-05-161-1/+2
| | | | i386)
* Fixed last entry.dsmith2006-05-161-7/+5
|
* 2006-05-16 David Smith <dsmith@redhat.com>dsmith2006-05-1627-118/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * parse.cxx (parser::parser): Added initializer for 'context' member variable. (tt2str): Added support for new tok_keyword type. (operator <<): Ignores keyword content when outputting error message. (lexer::scan): Recognizes keywords, such as 'probe', 'global', 'function', etc. and classifies them as type 'tok_keyword'. This causes keywords to become reserved so they cannot be used for function names, variable names, etc. (parser::parse): Changed tok_identifier to tok_keyword when looking for "probe", "global", or "function". Also sets context member variable which remembers if we're in probe, global, function, or embedded context. (parser::parse_probe, parser::parse_statement) (parser::parse_global, parser::parse_functiondecl) (parser::parse_if_statement, parser::parse_delete_statement) (parser::parse_break_statement, parser::parse_continue_statement) (parser::parse_for_loop, parser::parse_while_loop) (parser::parse_foreach_loop, parser::parse_array_in): Looks for tok_keyword instead of tok_identifier. (parser::parse_probe_point): Allows keywords as part of a probe name, since "return" and "function" are keywords. (parser::parse_return_statement): Looks for tok_keyword instead of tok_identifier. Make sure we're in function context. (parser::parse_next_statement): Looks for tok_keyword instead of tok_identifier. Make sure we're in probe context. * parse.h: Added parse_context enum. Added 'tok_keyword' to token_type enum. Added parse_context 'context' member variable to parser class. * stap.1.in: Because the string() function has been removed, the 'string()' function reference has been changed to a 'sprint()' function reference. * stapex.5.in: Ditto. * stapfuncs.5.in: The description of the string() and hexstring() functions has been removed. * testsuite/buildok/context_test.stp: Calls to the string() function were converted to sprint() function calls. * testsuite/buildok/fifteen.stp: Ditto. * testsuite/buildok/nineteen.stp: Ditto. * testsuite/buildok/process_test.stp: Ditto. * testsuite/buildok/task_test.stp: Ditto. * testsuite/buildok/timestamp.stp: Ditto. * testsuite/buildok/twentyone.stp: Ditto. * testsuite/semok/args.stp: Ditto. * testsuite/semok/seven.stp: Ditto. * testsuite/buildok/fourteen.stp: Calls to log()/string() were converted to a call to printf(). * testsuite/buildok/sixteen.stp: Ditto. * testsuite/buildok/thirteen.stp: Ditto. * testsuite/buildok/twentythree.stp: Ditto. * testsuite/buildok/twentytwo.stp: Ditto. * testsuite/buildok/seven.stp: Calls to the string() function were converted to sprint() calls. Calls to the hexstring() function were converted to sprintf() calls. * testsuite/semok/eleven.stp: Ditto. * testsuite/buildok/seventeen.stp: Calls to log()/hexstring() were converted to a call to printf(). * testsuite/semko/nineteen.stp: Ditto. * testsuite/parseok/three.stp: Because keywords are reserved, a variable named 'string' was renamed to 'str'. * testsuite/parseok/two.stp: Because keywords are reserved, a variable named 'global' was renamed to 'gbl'. * testsuite/transko/two.stp: Because the parser now checks for 'next' and 'return' statement context, a 'next' statement was removed from a function and a 'return' statement was removed from a probe.
* 2006-05-16 David Smith <dsmith@redhat.com>dsmith2006-05-168-40/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | * conversions.stp (hexstring, string): Removed functions. Because of parser changes, "string" is now a reserved word and cannot be a function name. Use 'sprintf("0x%x", num)' to replace hexstring() and either 'sprint(num)' or 'sprintf("%d", num)' to replace string(). * syscalls.stp (syscall.accept, syscall.alarm, syscall.close, syscall.dup, syscall.epoll_create, syscall.exit, syscall.fchdir, syscall.fdatasync, syscall.fsync, syscall.getsid) Changed 'string()' calls to 'sprint()' calls. * syscalls2.stp (syscall.sched_get_priority_max, syscall.sched_get_priority_min, syscall.sched_getscheduler, syscall.setfsgid, syscall.setfsgid16, syscall.setfsuid, syscall.setfsuid16, syscall.setgid, syscall.setgid16, syscall.setuid, syscall.setuid16, syscall.ssetmask, syscall.timer_delete, syscall.timer_getoverrun): Ditto. * i686/syscalls.stp (syscall.iopl, syscall.rt_sigreturn, syscall.sigreturn): Ditto. * ppc64/syscalls.stp (syscall.ppc64_personality): Ditto. * x86_64/syscalls.stp (kernel.syscall.iopl, kernel.syscall.umask): Ditto. * test/ctostp.sh: Uses 'sprint()' instead of 'string()' in generated systemtap code.
* 2006-05-15 Frank Ch. Eigler <fche@elastic.org>fche2006-05-164-13/+21
| | | | | | | | | * tapsets.cxx, translator.cxx (*): Designate more emitted functions as static. * translator.cxx (visit_print_format): Correct regression regression from two weeks ago. * stapfuncs.5.in: Tweak wording. Deprecate returnval() in favour of retval().
* 2006-05-14 Martin Hunt <hunt@redhat.com>hunt2006-05-152-14/+75
| | | | | * aux_syscalls.stp (_sys_open_flag_str): Rewrite in C so it is complete and works on different archs.
* 2006-05-12 Thang P Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-05-122-0/+12
| | | | * testsuite/buildok/probefunc.stp: test probefunc()
* 2006-05-12 Frank Ch. Eigler <fche@elastic.org>fche2006-05-122-6/+17
| | | | * stapfuncs.5.in: Clarify backtrace-related functions.
* 2006-05-11 David Smith <dsmith@redhat.com>dsmith2006-05-112-0/+139
| | | | * tapset/ctime.stp: New file.
* 2006-05-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-104-0/+123
| | | | | | | | * examples/small_demos/proc_snoop.stp: monitor all process events. * testsuite/buildok/task_test.stp: test compilation of all task functions. * testsuite/buildok/process_test.stp: test all process events and associated variables.
* 2006-05-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-103-0/+339
| | | | | * task.stp: functions to retrieve task information * process.stp: tapset for process-related events
* spelling correctionsjistone2006-05-092-6/+6
|
* 2006-05-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-092-8/+5
| | | | * context.stp (probefunc): remove use of labels
* 2006-05-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-092-2/+7
| | | | * context.stp (probefunc): define our own exit label
* Reorganize so that the compiler knows that ptr is initializedjistone2006-05-091-6/+3
|
* Print out information to make it easier to determine which probewcohen2006-05-094-5/+26
| | | | in script associated with timing information.
* -M option to control to do merge or not for bulk modeguanglei2006-05-095-1/+33
|
* %0s support to print null-terminated stringguanglei2006-05-092-0/+9
|
* 2006-05-08 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-082-4/+39
| | | | | | | 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.
* add testcases for epilogue mode probe aliases into parseokguanglei2006-05-081-0/+7
|
* epilogue mode probe aliases supportguanglei2006-05-085-16/+71
|
* .roland2006-05-061-7/+13
|
* 2006-05-05 Roland McGrath <roland@redhat.com>roland2006-05-062-0/+2
| | | | | | * configure.ac (build_elfutils): Pass CFLAGS to elfutils configure, editting out -Wall. * configure: Regenerated.
* 2006-05-05 Frank Ch. Eigler <fche@elastic.org>fche2006-05-067-13/+29
| | | | | | | | | | | | PR 2643 * testsuite/buildok/syscalls.stp: Take "-u" away again. * configure.ac, systemtap.spec.in: Bump version to 0.5.7. * configure: Regenerated. 2006-05-05 Frank Ch. Eigler <fche@elastic.org> PR 2643 * syscalls.stp: Put back some dummy syscall.exit*.return probes.
* 2006-05-05 Frank Ch. Eigler <fche@elastic.org>fche2006-05-054-11/+20
| | | | | * configure.ac, systemtap.spec.in: Bump version to 0.5.6. * configure: Regenerated.
* 2006-05-05 Will Cohen <wcohen@redhat.com>wcohen2006-05-053-0/+96
| | | | | | * small_demos/fileopen.stp: Shows use of target() to look at pid. * small_demos/rwtiming.stp: Shows per executable histograms of time spent in read and write system calls.
* 2006-05-05 Eugene Teo <eteo@redhat.com>eteo2006-05-053-10/+12
| | | | | | | | | PR 2433 * tapsets.cxx (dwarf_query::blacklisted_p): Extend the list of blacklisted .return probes to include "do_exit". Correct funcname typo for "sys_groupexit". * tapset/syscalls.stp: Remove .return probe aliases of never- returning syscall.exit and syscall.exit_group calls.
* 2006-05-05 David Smith <dsmith@redhat.com>dsmith2006-05-052-1/+13
| | | | | * translate.cxx (mapvar::exists): Added code for string array handling. Otherwise, string array elements always exist.
* 2006-05-03 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-042-3/+10
| | | | | PR 2506 * tapsets.cxx (dwarf_query::blacklisted_p): skip probes in .exit.*
* 2006-05-03 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-032-2/+8
| | | | | | * loc2c-runtime.h (deref_string): resolved gcc "warning: assignment makes integer from pointer without a cast" when using a pointer as the source address.
* 2006-05-03 Frank Ch. Eigler <fche@elastic.org>fche2006-05-033-18/+7
| | | | * context.stp, errno.stp: Note/eliminate some retval() duplication.
* Move closing '}' inside #ifdef.wcohen2006-05-022-1/+5
|
* "-t" option to collect information the number of times a probe runs andwcohen2006-05-026-2/+81
| | | | the average amount of time spent in the probe.
* update for new files in the source treejistone2006-05-021-0/+5
|
* 2006-05-01 Frank Ch. Eigler <fche@elastic.org>fche2006-05-012-3/+9
| | | | | * translate.cxx (visit_print_format): Fix regression in "printf" pseudo-result initialization.
* 2006-04-30 Frank Ch. Eigler <fche@elastic.org>fche2006-05-012-78/+70
| | | | | | | | | | | | | | | PR 2610. * translate.cxx (c_unparser::visit_arrayindex, visit_stat_op): Detect empty aggregates consistently. (visit_print_format): Ditto. Also detect errors due to argument evaluation. (translator_output::*): Add a flush before a failing assert, to produce more context when debugging. 2006-05-01 Frank Ch. Eigler <fche@elastic.org> * systemtap.maps/absentstats.*: Rewrite. * systemtap.maps/ix_clear*.exp: Update error message.