summaryrefslogtreecommitdiffstats
path: root/staplog.c
Commit message (Collapse)AuthorAgeFilesLines
* Forward-ported staplog.c crash support (PR 10644).David Smith2009-09-231-59/+115
| | | | | | | | | | | | | | * staplog.c (get_rchan): Separated original relayfs code and current relayfs code. (get_rchan_buf): Ditto. (output_cpu_logs): Ditto. (get_rchan_addr): Handles original relayfs code detection. (setup_global_data): Looks for '_stp_relay_data' structure instead of '_stp_utt' structure. (open_output_file): Improved error message. * runtime/transport/relay_v2.c: Rearranged struct _stp_relay_data_type to make things a bit easier for staplog.c. * runtime/transport/relayfs.c: Ditto
* 2007-10-19 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-10-191-102/+62
| | | | | | | | | | | | | * staplog.c: Cleanup code and remove end-of-line spaces. (create_output_filename): Use snprintf instead of sprintf and remove malloc(). (print_rchan_info): Merge into output_cpu_logs(). (open_output_file): Use GETBUF() instead of malloc(). (output_cpu_logs): Simplify logic and remove unused code. (do_staplog): Merge into cmd_staplog(). (help_staplog): Fix typos. * Makefile.am (STAPLOG): Add -Wall option. * Makefile.in: Regenerated.
* 2007-10-19 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-10-191-59/+156
| | | | | | | | | | | | | | From Satoru Moriya <satoru.moriya.br@hitachi.com>: * staplog.c :(create_output_dir): New function for creating output directory. (create_output_filename): New function for making output filename. (print_rchan_info): New function for displaying relay channel status. (open_output_file): New function for opening output file. (output_cpu_logs): Cleanup code and fix bugs to retrieve buffer data even when the last buffer is full and even if the systemtap uses old(non-utt) format. Add a routine for '-a' option. (cmd_staplog): Add '-a' option. (help_staplog): Ditto.
* 2007-08-20 Frank Ch. Eigler <fche@elastic.org>fche2007-08-201-29/+67
| | | | | From Satoru MORIYA <satoru.moriya.br@hitachi.com> * staplog.c: Updated.
* 2007-07-02 Frank Ch. Eigler <fche@rechat.com>fche2007-07-021-0/+401
* staplog.c: New file from Satoru MORIYA <satoru.moriya.br@hitachi.com>, prototype crash(8) extension module. * configure.ac: Look for crash/defs.h. * Makefile.am: Build/install staplog.so shared library if found. * configure, Makefile, config.in, runtime/lket/b2a/Makefile.in: Regenerated.