| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
From Satoru MORIYA <satoru.moriya.br@hitachi.com>
* staplog.c: Updated.
|
|
* 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.
|