public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/15533] New: LD_AUDIT introduces an avoidable performance degradation
@ 2013-05-24 23:56 amonakov at gmail dot com
2013-05-25 0:27 ` [Bug dynamic-link/15533] " amonakov at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: amonakov at gmail dot com @ 2013-05-24 23:56 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15533
Bug ID: 15533
Summary: LD_AUDIT introduces an avoidable performance
degradation
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: amonakov at gmail dot com
Created attachment 7044
--> http://sourceware.org/bugzilla/attachment.cgi?id=7044&action=edit
testcase
Introducing an audit library currently force-enables instrumenting for
profiling in the dynamic linker (as if LD_AUDIT implied LD_PROFILE). However,
this is not necessary if the audit library does not provide la_plt{enter,exit}
symbols.
Attached testcase demonstrates the performance hit:
$ make test
time ./main
0.47user 0.00system 0:00.48elapsed 99%CPU (0avgtext+0avgdata 1984maxresident)k
0inputs+0outputs (0major+170minor)pagefaults 0swaps
time env LD_AUDIT=./libaudit.so ./main
8.96user 0.00system 0:08.97elapsed 99%CPU (0avgtext+0avgdata 3264maxresident)k
0inputs+0outputs (0major+442minor)pagefaults 0swaps
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug dynamic-link/15533] LD_AUDIT introduces an avoidable performance degradation
2013-05-24 23:56 [Bug dynamic-link/15533] New: LD_AUDIT introduces an avoidable performance degradation amonakov at gmail dot com
@ 2013-05-25 0:27 ` amonakov at gmail dot com
2014-06-13 17:36 ` fweimer at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: amonakov at gmail dot com @ 2013-05-25 0:27 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15533
--- Comment #1 from Alexander Monakov <amonakov at gmail dot com> ---
Patch: http://sourceware.org/ml/libc-alpha/2013-05/msg00888.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug dynamic-link/15533] LD_AUDIT introduces an avoidable performance degradation
2013-05-24 23:56 [Bug dynamic-link/15533] New: LD_AUDIT introduces an avoidable performance degradation amonakov at gmail dot com
2013-05-25 0:27 ` [Bug dynamic-link/15533] " amonakov at gmail dot com
@ 2014-06-13 17:36 ` fweimer at redhat dot com
2021-10-05 20:11 ` nnye at whitebeamsec dot com
2021-12-28 11:51 ` adhemerval.zanella at linaro dot org
3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 17:36 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=15533
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug dynamic-link/15533] LD_AUDIT introduces an avoidable performance degradation
2013-05-24 23:56 [Bug dynamic-link/15533] New: LD_AUDIT introduces an avoidable performance degradation amonakov at gmail dot com
2013-05-25 0:27 ` [Bug dynamic-link/15533] " amonakov at gmail dot com
2014-06-13 17:36 ` fweimer at redhat dot com
@ 2021-10-05 20:11 ` nnye at whitebeamsec dot com
2021-12-28 11:51 ` adhemerval.zanella at linaro dot org
3 siblings, 0 replies; 5+ messages in thread
From: nnye at whitebeamsec dot com @ 2021-10-05 20:11 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=15533
Nathan Nye <nnye at whitebeamsec dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nnye at whitebeamsec dot com
--- Comment #2 from Nathan Nye <nnye at whitebeamsec dot com> ---
This patch causes la_symbind64 to no longer run (also I assume la_symbind32),
so the scope isn't limited to just the la_plt{enter,exit} functions.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug dynamic-link/15533] LD_AUDIT introduces an avoidable performance degradation
2013-05-24 23:56 [Bug dynamic-link/15533] New: LD_AUDIT introduces an avoidable performance degradation amonakov at gmail dot com
` (2 preceding siblings ...)
2021-10-05 20:11 ` nnye at whitebeamsec dot com
@ 2021-12-28 11:51 ` adhemerval.zanella at linaro dot org
3 siblings, 0 replies; 5+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2021-12-28 11:51 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=15533
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |2.35
Status|NEW |RESOLVED
CC| |adhemerval.zanella at linaro dot o
| |rg
--- Comment #3 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Fixed on 2.35 (063f9ba220f434c7f30dd65c4cff17c0c458a7cf).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-12-28 11:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-24 23:56 [Bug dynamic-link/15533] New: LD_AUDIT introduces an avoidable performance degradation amonakov at gmail dot com
2013-05-25 0:27 ` [Bug dynamic-link/15533] " amonakov at gmail dot com
2014-06-13 17:36 ` fweimer at redhat dot com
2021-10-05 20:11 ` nnye at whitebeamsec dot com
2021-12-28 11:51 ` adhemerval.zanella at linaro dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).