projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
comment field id of LttvTraceHook
[lttv.git]
/
ltt-usertrace
/
ltt-facility-loader-user_generic.c
diff --git
a/ltt-usertrace/ltt-facility-loader-user_generic.c
b/ltt-usertrace/ltt-facility-loader-user_generic.c
index 8314ef827d36411c7b55f9183476be3269be0a24..68890dbf6dfb201d97cf223f5a217d45baa22a6c 100644
(file)
--- a/
ltt-usertrace/ltt-facility-loader-user_generic.c
+++ b/
ltt-usertrace/ltt-facility-loader-user_generic.c
@@
-19,7
+19,7
@@
static struct user_facility_info facility = {
.name = LTT_FACILITY_NAME,
.num_events = LTT_FACILITY_NUM_EVENTS,
#ifndef LTT_PACK
.name = LTT_FACILITY_NAME,
.num_events = LTT_FACILITY_NUM_EVENTS,
#ifndef LTT_PACK
- .alignment =
sizeof(void*)
,
+ .alignment =
LTT_FACILITY_ALIGNMENT?sizeof(void*):0
,
#else
.alignment = 0,
#endif //LTT_PACK
#else
.alignment = 0,
#endif //LTT_PACK
@@
-40,7
+40,7
@@
static void __attribute__((constructor)) __ltt_user_init(void)
err = ltt_register_generic(<T_FACILITY_SYMBOL, &facility);
LTT_FACILITY_CHECKSUM_SYMBOL = LTT_FACILITY_SYMBOL;
err = ltt_register_generic(<T_FACILITY_SYMBOL, &facility);
LTT_FACILITY_CHECKSUM_SYMBOL = LTT_FACILITY_SYMBOL;
- if(err) {
+ if
(err) {
#ifdef LTT_SHOW_DEBUG
perror("Error in ltt_register_generic");
#endif //LTT_SHOW_DEBUG
#ifdef LTT_SHOW_DEBUG
perror("Error in ltt_register_generic");
#endif //LTT_SHOW_DEBUG
This page took
0.022879 seconds
and
4
git commands to generate.