projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cyg_profile: implement fast and verbose .so
[lttng-ust.git]
/
liblttng-ust-cyg-profile
/
lttng-ust-cyg-profile.c
diff --git
a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c
b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c
index d772e76b961a148d19bf04d56ae9481b697d99b5..2ff11595b5b9fc69e080c06a491772d00eaf7df8 100644
(file)
--- a/
liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c
+++ b/
liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c
@@
-16,6
+16,7
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define _LGPL_SOURCE
#define _GNU_SOURCE
#include <dlfcn.h>
#include <sys/types.h>
#define _GNU_SOURCE
#include <dlfcn.h>
#include <sys/types.h>
@@
-33,10
+34,10
@@
void __cyg_profile_func_exit(void *this_fn, void *call_site)
void __cyg_profile_func_enter(void *this_fn, void *call_site)
{
void __cyg_profile_func_enter(void *this_fn, void *call_site)
{
- tracepoint(lttng_ust_cyg_profile, func_entry, this_fn);
+ tracepoint(lttng_ust_cyg_profile, func_entry, this_fn
, call_site
);
}
void __cyg_profile_func_exit(void *this_fn, void *call_site)
{
}
void __cyg_profile_func_exit(void *this_fn, void *call_site)
{
- tracepoint(lttng_ust_cyg_profile, func_exit);
+ tracepoint(lttng_ust_cyg_profile, func_exit
, this_fn, call_site
);
}
}
This page took
0.030886 seconds
and
4
git commands to generate.