diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-03-29 20:13:14 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2023-03-29 23:09:40 -0700 |
commit | f2f9bde5cde7ff34ed0a4c4682a211d402aa1086 (patch) | |
tree | f8aabd9ac60efc99265b4a2b6c1d9b42c765562e /gprofng/libcollector | |
parent | 6b958fe36b765f70878e8d3d002864967c4bc3a4 (diff) | |
download | gdb-f2f9bde5cde7ff34ed0a4c4682a211d402aa1086.zip gdb-f2f9bde5cde7ff34ed0a4c4682a211d402aa1086.tar.gz gdb-f2f9bde5cde7ff34ed0a4c4682a211d402aa1086.tar.bz2 |
gprofng: Add version symbols to libgprofng.ver
gprofng/ChangeLog
2023-03-29 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
PR gprofng/30089
* libcollector/libgprofng.ver: Add version symbols.
* libcollector/synctrace.c: Fix typo for pthread_mutex_lock.
Diffstat (limited to 'gprofng/libcollector')
-rw-r--r-- | gprofng/libcollector/libgprofng.ver | 98 | ||||
-rw-r--r-- | gprofng/libcollector/synctrace.c | 6 |
2 files changed, 62 insertions, 42 deletions
diff --git a/gprofng/libcollector/libgprofng.ver b/gprofng/libcollector/libgprofng.ver index dbb3212..2433f15 100644 --- a/gprofng/libcollector/libgprofng.ver +++ b/gprofng/libcollector/libgprofng.ver @@ -20,54 +20,71 @@ GLIBC_2.0 { global: + dlclose; + dlopen; + fclose; + fdopen; + fgetpos; + fopen; + fsetpos; + popen; + pthread_cond_timedwait; + pthread_cond_wait; pthread_create; - pthread_mutex_lock; - pthread_mutex_unlock; + pthread_join; pthread_sigmask; - popen; + sem_wait; + timer_create; }; GLIBC_2.1 { global: - pthread_create; + dlopen; + fclose; + fdopen; + fgetpos64; + fopen; + fsetpos64; popen; + pthread_create; + sem_wait; } GLIBC_2.0; GLIBC_2.2 { global: + fgetpos; + fgetpos64; + fsetpos; + fsetpos64; open64; posix_spawn; posix_spawnp; pread; - pwrite; - pwrite64; timer_create; - fgetpos; - fsetpos; - fgetpos64; - fsetpos64; } GLIBC_2.1; GLIBC_2.2.5 { global: - posix_spawn; - posix_spawnp; - pthread_mutex_lock; - pthread_mutex_unlock; - pthread_sigmask; - pthread_join; - sem_wait; - pthread_create; + dlclose; dlopen; - popen; - timer_create; - pthread_cond_wait; - pthread_cond_timedwait; - fopen; fclose; fdopen; fgetpos; + fgetpos64; + fopen; fsetpos; + fsetpos64; + popen; + posix_spawn; + posix_spawnp; + pthread_cond_timedwait; + pthread_cond_wait; + pthread_create; + pthread_join; + pthread_sigmask; + sem_wait; + timer_create; + timer_create; } GLIBC_2.2 ; GLIBC_2.3.2 { @@ -89,24 +106,26 @@ GLIBC_2.15 { GLIBC_2.17 { global: - posix_spawn; - posix_spawnp; - pthread_mutex_lock; - pthread_mutex_unlock; - pthread_sigmask; - pthread_join; - sem_wait; - pthread_create; + dlclose; dlopen; - popen; - timer_create; - pthread_cond_wait; - pthread_cond_timedwait; - fopen; fclose; fdopen; fgetpos; + fgetpos64; + fopen; fsetpos; + fsetpos64; + popen; + posix_spawn; + posix_spawnp; + pthread_cond_timedwait; + pthread_cond_wait; + pthread_create; + pthread_join; + pthread_sigmask; + sem_wait; + timer_create; + timer_create; } GLIBC_2.15; GLIBC_2.32 { @@ -116,10 +135,11 @@ GLIBC_2.32 { GLIBC_2.34 { global: - pthread_join; - sem_wait; - pthread_create; + dlclose; dlopen; + pthread_create; + pthread_join; + sem_wait; timer_create; } GLIBC_2.32; diff --git a/gprofng/libcollector/synctrace.c b/gprofng/libcollector/synctrace.c index 3d53d1f..a00691f 100644 --- a/gprofng/libcollector/synctrace.c +++ b/gprofng/libcollector/synctrace.c @@ -615,9 +615,9 @@ gprofng_pthread_mutex_lock (int (real_func) (pthread_mutex_t *), return gprofng_pthread_mutex_lock (real_f, mp); \ } -DCL_FUNC_VER (DCL_PTHREAD_MUTEX_LOCK, pthread_mutex_lock_2_17, timer_create@GLIBC_2.17) -DCL_FUNC_VER (DCL_PTHREAD_MUTEX_LOCK, pthread_mutex_lock_2_2_5, timer_create@GLIBC_2.2.5) -DCL_FUNC_VER (DCL_PTHREAD_MUTEX_LOCK, pthread_mutex_lock_2_0, timer_create@GLIBC_2.0) +DCL_FUNC_VER (DCL_PTHREAD_MUTEX_LOCK, pthread_mutex_lock_2_17, pthread_mutex_lock@GLIBC_2.17) +DCL_FUNC_VER (DCL_PTHREAD_MUTEX_LOCK, pthread_mutex_lock_2_2_5, pthread_mutex_lock@GLIBC_2.2.5) +DCL_FUNC_VER (DCL_PTHREAD_MUTEX_LOCK, pthread_mutex_lock_2_0, pthread_mutex_lock@GLIBC_2.0) DCL_PTHREAD_MUTEX_LOCK (pthread_mutex_lock, CALL_REAL (pthread_mutex_lock)) /*------------------------------------------------------------- pthread_cond_wait */ |