summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* stats: report zero percents instead of NaNHEADmasterAkos PASZTORY2011-12-052-0/+4
|
* stats: bugfix: use timersub() and timeradd()Akos PASZTORY2011-12-052-36/+9
| | | | | tv_sub() had a bug: if 'a' represented the same time as 'b' then it added extra 1000000 usecs.
* make: Fixes paraller building like 'make -j16'Tapani Pälli2011-09-112-3/+7
|
* change release number to 0.5.12jolsa@redhat.com2011-09-111-1/+1
|
* 0.5.11 release changeslatrace-0.5.11Jiri Olsa2011-07-284-4/+41
|
* doc - update configuration file stuffJiri Olsa2011-07-283-116/+212
| | | | | Update documentation with configuration file details. Update help output with missing help for '-N' option.
* args: fix size_t printf compile warningjolsa@redhat.com2011-07-082-1/+4
| | | | using proper %zu for size_t argument in printf
* config: Fix memory leak in names list codeJiri Olsa2011-06-212-0/+7
|
* test: Add test for ARGS_STRING_POINTER_LENGTH optionJiri Olsa2011-06-173-3/+46
|
* args: Aadd support to display string pointer and lengthJiri Olsa2011-06-177-5/+39
| | | | | Add ARGS_STRING_POINTER_LENGTH option. It allows to display pointer value and string length for "char *" arguments.
* test: Add tests for LIBS*/SYM* optionsJiri Olsa2011-06-1711-22/+488
| | | | | | Added automated tests for most of the LIBS*/SYM* options. Missing tests for options: LIBS_TO, LIBS_FROM, SYM_BELOW, SYM_NOEXIT
* config: Add SYM_NOEXIT optionJiri Olsa2011-06-178-3/+44
| | | | | | | | | Added SYM_NOEXIT option to be able to run only pltentry callback for specified symbols. This option is needed for setjmp symbol, otherwise the tracee segfaults. The "_setjmp" symbol is added as default value to the global config file.
* config: Add libs and symbols specfication config file optionsJiri Olsa2011-06-176-22/+227
| | | | | | | | Added following config file options: LIBS, LIBS_TO, LIBS_FROM, SYM, SYM_OMIT, SYM_BELOW They match their command line equivalents.
* test: Move all tests to scriptsJiri Olsa2011-06-177-13/+25
| | | | | Moving test-args/test-common into scripts, to have common way of running and cheking tests results.
* make tracer return actual tracee statusJiri Olsa2011-06-163-4/+7
|
* global_symbol fix - proper tree managementJiri Olsa2011-06-153-15/+20
| | | | | | fix global_symbols tree management - add only if we care about the symbol - make bind call dependent on the global_symbols variable
* adding large file supportJiri Olsa2011-06-075-2/+10
|
* reading the -N config file immediatelly within args processingJiri Olsa2011-05-302-14/+10
| | | | | it makes more sense to read the -N config file immediatelly within the arguments processing, since more confing files can be added
* tracer waiting code - do not exit the wait loop prematurelyJiri Olsa2011-05-302-5/+8
| | | | | if the tracee died we break the loop leaving the tracee socket(s) full of data, caused by recent code refactoring
* Makefiles cleanupJiri Olsa2011-05-292-5/+13
| | | | | - moved specific cleanup into src/Makefile - added OBJS_DEPS_OMIT variable to ease DEPS_OBJS generation
* tty output - move fd to the config structJiri Olsa2011-05-295-6/+20
| | | | | moving tty fd into the config struct, since it's better fit and it's needed for error simulation, which is comming in shortly
* args - replacing destination strings with void pointersjolsa@redhat.com2011-05-293-12/+13
| | | | | | | | | | | | | As per David Gilbert's email: On library functions like strcpy() where there is a destination string, latrace -A ends up trying to print out the destination buffer which may be completely invalid. Maybe it's worth doing the same trick that ltrace does, and just declare the destination parameters as void* until we handle bad characters somehow, replacing destination char pointers with void pointers
* adding tests for latrace terminationjolsa@redhat.com2011-05-297-14/+216
|
* adding SIGTERM/SIGINT handlersJiri Olsa2011-05-292-31/+137
| | | | + refactoring lt_run to check the latrace got killed
* enable tests for ARM architectureDr. David Alan Gilbert2011-05-253-2/+6
| | | | contributed by Dr. David Alan Gilbert <david.gilbert@linaro.org>
* test_long - separate 32/64 versionsJiri Olsa2011-05-255-134/+140
| | | | | | | - separated 32/64 into single objects that will get included by each arch - this way we can choose the appropriate test version for each architecture
* fix test_[short|int|long] testsJiri Olsa2011-05-254-43/+43
| | | | | | | - removed the complex math from test_[short|int]_* functions and return simple numbers, it's easier to debug - kept and simplified math for test_long
* args - use isprint to decide whether to print the characterDr. David Alan Gilbert2011-05-255-15/+25
| | | | | | | + force test.sh to use bash + fix test_char tests contributed by Dr. David Alan Gilbert <david.gilbert@linaro.org>
* fixed errors discovered by cppcheckJiri Olsa2011-05-143-8/+12
| | | | | | | | cppcheck discovered some memory leaks (http://cppcheck.sourceforge.net/) It'd be worth adding Makefile target to run/check cppcheck output automatically.
* build fix for ARMJiri Olsa2011-05-142-1/+5
| | | | | | recognize arm properly contributed by Dr. David Alan Gilbert <david.gilbert@linaro.org>
* adding OUTPUT_TTY config file optionJiri Olsa2011-05-0512-34/+299
| | | | | | | | | | - added OUTPUT_TTY config file option it is possible to catch traced program tty output and storing it to the configured file (0/1/2 descriptors are monitored) - added automated test for the option - refactoring process method a bit - disabling connection between -R and -q options
* adding automated test supportJiri Olsa2011-04-2018-4/+1021
| | | | | | | So far for x86 and x86_64 others are disabled. From this time on, I'll try to force addition of automated test for each fix/feature.. ;)
* prevent gcc warning with single printf like arg passingJiri Olsa2011-04-193-9/+13
|
* add threads fifo management to special directoryJiri Olsa2011-04-164-31/+88
| | | | so the notification is not affected by other files
* fix display of char argumentsJiri Olsa2011-04-162-2/+5
|
* fix memory leak in the argument display codeJiri Olsa2011-04-062-13/+17
|
* ChangeLog updateJiri Olsa2011-04-051-0/+2
|
* adding support for configuration filejolsa@redhat.com2011-04-0514-183/+905
| | | | | | | | | | | | | | | | | | | | - separating bison/flex functions for args and config - the "include file support" unified among new conf and C header parsing - support for following options: HEADERS INDENT_SYM PIPE TIMESTAMP FRAMESIZE FRAMESIZE_CHECK HIDE_TID FOLLOW_FORK FOLLOW_EXEC DEMANGLE BRACES ENABLE_ARGS DETAIL_ARGS
* moving conf header files to new location + rename s/conf/h/jolsa@redhat.com2011-04-0539-78/+98
|
* fix controled config bug - missing shared config assignmentJiri Olsa2011-04-053-5/+13
|
* moving debian directory to the packagingJiri Olsa2011-02-158-99/+9
|
* Sebastian Pipping <sping@gentoo.org>Jiri Olsa2011-02-152-4/+8
| | | | fix LDFLAGS/CFLAGS usage
* adding support for global symbol configJiri Olsa2011-01-318-44/+251
| | | | | | one global tree to rule them all - only one tree is searched during the plt entry/exit - symbols are added during the bind audit callback
* enhancing names check with *-logic for "-l -t -f -s -n -b" optionsJiri Olsa2010-10-174-2/+20
| | | | Artur Skawina <art.08.09@gmail.com>
* 0.5.10 release changeslatrace-0.5.10Jiri Olsa2010-10-134-3/+23
|
* Artur Skawina <art.08.09@gmail.com>Jiri Olsa2010-10-136-8/+47
| | | | add '-n' option, allowing to omit tracing certain symbols
* Akos Pasztory <akos.pasztory@gmail.com>Jiri Olsa2010-10-022-18/+22
| | | | more sophisticated parsing of /proc/self/maps
* synchronize --no-* option namesJiri Olsa2010-09-153-9/+10
|
* stack limits dynamic check - fixiesJiri Olsa2010-09-152-19/+35
| | | | | | based on Akos' comments: - dynamic rlimit stack check - recognize [stack] map arrea and handle it properly
* adding stack limits dynamic checkJiri Olsa2010-09-079-9/+148
|