Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
system_core
Commits
481b947d
Commit
481b947d
authored
11 years ago
by
Adam Lesinski
Browse files
Options
Download
Email Patches
Plain Diff
Moves libmemtrack header to standard location
Change-Id: If8c80003bc2f042c67ffdf38469407de3c2fda2c
parent
0ee7d8c6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
include/memtrack/memtrack.h
include/memtrack/memtrack.h
+9
-0
libmemtrack/Android.mk
libmemtrack/Android.mk
+1
-2
libmemtrack/memtrack.c
libmemtrack/memtrack.c
+1
-1
libmemtrack/memtrack_test.c
libmemtrack/memtrack_test.c
+1
-1
No files found.
libmemtrack/include
/memtrack.h
→
include/memtrack
/memtrack.h
View file @
481b947d
...
...
@@ -19,6 +19,11 @@
#include <sys/types.h>
#include <stddef.h>
#include <cutils/compiler.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/**
* struct memtrack_proc
...
...
@@ -135,4 +140,8 @@ ssize_t memtrack_proc_other_total(struct memtrack_proc *p);
*/
ssize_t
memtrack_proc_other_pss
(
struct
memtrack_proc
*
p
);
#ifdef __cplusplus
}
#endif
#endif
This diff is collapsed.
Click to expand it.
libmemtrack/Android.mk
View file @
481b947d
...
...
@@ -3,10 +3,9 @@
LOCAL_PATH
:=
$(
call
my-dir
)
include
$(CLEAR_VARS)
LOCAL_EXPORT_C_INCLUDE_DIRS
:=
$(LOCAL_PATH)
/include
LOCAL_SRC_FILES
:=
memtrack.c
LOCAL_MODULE
:=
libmemtrack
LOCAL_C_INCLUDES
+=
$(LOCAL_PATH)
/include
hardware/libhardware/include
LOCAL_C_INCLUDES
+=
hardware/libhardware/include
LOCAL_SHARED_LIBRARIES
:=
libhardware liblog
LOCAL_CFLAGS
:=
-Wall
-Werror
include
$(BUILD_SHARED_LIBRARY)
...
...
This diff is collapsed.
Click to expand it.
libmemtrack/memtrack.c
View file @
481b947d
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <memtrack.h>
#include <memtrack
/memtrack
.h>
#define LOG_TAG "memtrack"
...
...
This diff is collapsed.
Click to expand it.
libmemtrack/memtrack_test.c
View file @
481b947d
...
...
@@ -19,7 +19,7 @@
#include <string.h>
#include <sys/types.h>
#include <memtrack.h>
#include <memtrack
/memtrack
.h>
#include <pagemap/pagemap.h>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment