3
0
forked from pool/systemtap
OBS User unknown 2007-05-22 16:34:24 +00:00 committed by Git OBS Bridge
parent d7a294e2d7
commit c1179b039d
5 changed files with 38 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d6c24d9951dcf49f451372f0a09ec66259dce60fc548de196cfc8f4cbeb829f
size 686764

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86712210e71f9020531efc6232cce07cbba3e3f1c67004a0c5603508b61fc088
size 691419

View File

@ -1,13 +1,16 @@
--- runtime/staprun/mainloop.c-dist 2007-04-24 18:38:24.000000000 +0200
+++ runtime/staprun/mainloop.c 2007-04-24 18:39:20.000000000 +0200
@@ -300,7 +300,9 @@ int stp_main_loop(void)
switch (type) {
#ifdef STP_OLD_TRANSPORT
case STP_REALTIME_DATA:
- write(out_fd[0], data, nb - sizeof(int));
+ if (write(out_fd[0], data, nb - sizeof(int)) !=
+ (ssize_t)(nb - sizeof(int)))
+ fprintf(stderr, "WARNING: short STP_REALTIME_DATA written\n");
break;
#endif
case STP_OOB_DATA:
--- runtime/staprun/mainloop.c-dist 2007-05-22 17:14:19.000000000 +0200
+++ runtime/staprun/mainloop.c 2007-05-22 17:15:32.000000000 +0200
@@ -21,9 +21,10 @@ int use_old_transport = 0;
void fatal_handler (int signum)
{
char *str = strsignal(signum);
- (void)write (STDERR_FILENO, ERR_MSG, sizeof(ERR_MSG));
- (void)write (STDERR_FILENO, str, strlen(str));
- (void)write (STDERR_FILENO, "\n", 1);
+ ssize_t err;
+ err = write (STDERR_FILENO, ERR_MSG, sizeof(ERR_MSG));
+ err = write (STDERR_FILENO, str, strlen(str));
+ err = write (STDERR_FILENO, "\n", 1);
_exit(-1);
}

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue May 22 17:09:38 CEST 2007 - tiwai@suse.de
- updated to snapshot 20070519:
* Updated temporary handlings
* Autoconf tweaks
* Performance improvements with const and temporary handlings
* Removed do_write and do_read probles, added aio_write,
aio_read, writev and readv probes.
-------------------------------------------------------------------
Mon May 21 12:24:15 CEST 2007 - tiwai@suse.de

View File

@ -12,11 +12,11 @@
Name: systemtap
BuildRequires: gcc-c++ libebl-devel
%define package_version 20070421
%define package_version 20070519
%define elfutils_version 0.127
License: GNU General Public License (GPL)
Version: 0.5.14
Release: 7
Release: 9
Summary: Instrumentation System
Group: Development/Tools/Debuggers
URL: http://sourceware.org/systemtap/
@ -66,6 +66,13 @@ rm -rf ${RPM_BUILD_ROOT}
%dir %attr(0755,root,root) /var/cache/systemtap
%changelog
* Tue May 22 2007 - tiwai@suse.de
- updated to snapshot 20070519:
* Updated temporary handlings
* Autoconf tweaks
* Performance improvements with const and temporary handlings
* Removed do_write and do_read probles, added aio_write,
aio_read, writev and readv probes.
* Mon May 21 2007 - tiwai@suse.de
- use the external elfutils packages.
* Tue Apr 24 2007 - tiwai@suse.de