[ltrace-commits] 01/01: Improve pthread call logging
Petr Machata
pmachata-guest at moszumanska.debian.org
Mon Apr 27 22:32:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
pmachata-guest pushed a commit to branch master
in repository ltrace.
commit db0f2e0b4e276764bf3ac3fdb59704e7a4ffc501
Author: Роман Донченко <dpb at corrigendum.ru>
Date: Mon Apr 20 03:39:26 2015 +0300
Improve pthread call logging
* use signum as the type for pthread_kill's second parameter;
* import libpthread.so.conf into libc.so.conf, since libc.so also
defines several functions from libpthread.so.
---
etc/libc.so.conf | 5 +++++
etc/libpthread.so.conf | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/etc/libc.so.conf b/etc/libc.so.conf
index 4e9db60..e101e4a 100644
--- a/etc/libc.so.conf
+++ b/etc/libc.so.conf
@@ -523,3 +523,8 @@ addr mremap(addr, size_t, size_t, hex(int));
int remap_file_pages(addr, size_t, int, size_t, mmap_flags_t);
int shm_open(string, hex(int), oct(int));
int shm_unlink(string);
+
+# libc.so defines several functions from libpthread.so.
+# Rather than cherrypick, just import them all.
+
+import "libpthread.so";
diff --git a/etc/libpthread.so.conf b/etc/libpthread.so.conf
index 7cb8f45..c5c0f4e 100644
--- a/etc/libpthread.so.conf
+++ b/etc/libpthread.so.conf
@@ -120,5 +120,5 @@ void pthread_testcancel();
# <signal.h>
-int pthread_kill(pthread_t, int);
+int pthread_kill(pthread_t, signum);
int pthread_sigmask(int, sigset_t *, +sigset_t *);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git
More information about the ltrace-commits
mailing list