Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Browse Source
View Tickets
Search
Context Navigation
←
Previous Change
Next Change
→
Changeset
493cb97
for
memlog.c
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
05/29/15 02:39:15 (
9 years
ago)
Author:
Hal Finkel <hfinkel@…>
Branches:
master
Children:
1e5cce6
Parents:
747d2b1
git-author:
Hal Finkel <hfinkel@…> (05/29/15 02:39:15)
git-committer:
Hal Finkel <hfinkel@…> (05/29/15 02:39:15)
Message:
static linking comment; make static .o memlog_s.o
File:
1 edited
memlog.c
(modified)
(
1 diff
)
Legend:
Unmodified
Added
Removed
memlog.c
r3105f50
r493cb97
22
22
23
23
#include <dlfcn.h>
24
25
// NOTE: When static linking, this depends on linker wrapping.
26
// Add to your LDFLAGS:
27
// -Wl,--wrap,malloc,--wrap,free,--wrap,realloc,--wrap,calloc,--wrap,memalign /path/to/memlog_s.o -lpthread -ldl
24
28
25
29
FILE *log_file = NULL;
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive