projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: fd tracker: do not allow signal handlers to close lttng-ust FDs
[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..d19f70a6e69b4be07955bb68a6ee8db439048f9c 100644
(file)
--- a/
liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c
+++ b/
liblttng-ust-cyg-profile/lttng-ust-cyg-profile.c
@@
-17,12
+17,14
@@
*/
#define _GNU_SOURCE
*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <dlfcn.h>
#include <sys/types.h>
#include <stdio.h>
#define TRACEPOINT_DEFINE
#define TRACEPOINT_CREATE_PROBES
#include <dlfcn.h>
#include <sys/types.h>
#include <stdio.h>
#define TRACEPOINT_DEFINE
#define TRACEPOINT_CREATE_PROBES
+#define TP_IP_PARAM func_addr
#include "lttng-ust-cyg-profile.h"
void __cyg_profile_func_enter(void *this_fn, void *call_site)
#include "lttng-ust-cyg-profile.h"
void __cyg_profile_func_enter(void *this_fn, void *call_site)
@@
-33,10
+35,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.02385 seconds
and
4
git commands to generate.