Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemCore
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemCore
Commits
481b947d
Commit
481b947d
authored
11 years ago
by
Adam Lesinski
Browse files
Options
Downloads
Patches
Plain Diff
Moves libmemtrack header to standard location
Change-Id: If8c80003bc2f042c67ffdf38469407de3c2fda2c
parent
0ee7d8c6
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
include/memtrack/memtrack.h
+9
-0
9 additions, 0 deletions
include/memtrack/memtrack.h
libmemtrack/Android.mk
+1
-2
1 addition, 2 deletions
libmemtrack/Android.mk
libmemtrack/memtrack.c
+1
-1
1 addition, 1 deletion
libmemtrack/memtrack.c
libmemtrack/memtrack_test.c
+1
-1
1 addition, 1 deletion
libmemtrack/memtrack_test.c
with
12 additions
and
4 deletions
libmemtrack/include
/memtrack.h
→
include/memtrack
/memtrack.h
+
9
−
0
View file @
481b947d
...
@@ -19,6 +19,11 @@
...
@@ -19,6 +19,11 @@
#include
<sys/types.h>
#include
<sys/types.h>
#include
<stddef.h>
#include
<stddef.h>
#include
<cutils/compiler.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/**
/**
* struct memtrack_proc
* struct memtrack_proc
...
@@ -135,4 +140,8 @@ ssize_t memtrack_proc_other_total(struct memtrack_proc *p);
...
@@ -135,4 +140,8 @@ ssize_t memtrack_proc_other_total(struct memtrack_proc *p);
*/
*/
ssize_t
memtrack_proc_other_pss
(
struct
memtrack_proc
*
p
);
ssize_t
memtrack_proc_other_pss
(
struct
memtrack_proc
*
p
);
#ifdef __cplusplus
}
#endif
#endif
#endif
This diff is collapsed.
Click to expand it.
libmemtrack/Android.mk
+
1
−
2
View file @
481b947d
...
@@ -3,10 +3,9 @@
...
@@ -3,10 +3,9 @@
LOCAL_PATH
:=
$(
call my-dir
)
LOCAL_PATH
:=
$(
call my-dir
)
include
$(CLEAR_VARS)
include
$(CLEAR_VARS)
LOCAL_EXPORT_C_INCLUDE_DIRS
:=
$(
LOCAL_PATH
)
/include
LOCAL_SRC_FILES
:=
memtrack.c
LOCAL_SRC_FILES
:=
memtrack.c
LOCAL_MODULE
:=
libmemtrack
LOCAL_MODULE
:=
libmemtrack
LOCAL_C_INCLUDES
+=
$(
LOCAL_PATH
)
/include
hardware/libhardware/include
LOCAL_C_INCLUDES
+=
hardware/libhardware/include
LOCAL_SHARED_LIBRARIES
:=
libhardware liblog
LOCAL_SHARED_LIBRARIES
:=
libhardware liblog
LOCAL_CFLAGS
:=
-Wall
-Werror
LOCAL_CFLAGS
:=
-Wall
-Werror
include
$(BUILD_SHARED_LIBRARY)
include
$(BUILD_SHARED_LIBRARY)
...
...
This diff is collapsed.
Click to expand it.
libmemtrack/memtrack.c
+
1
−
1
View file @
481b947d
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* limitations under the License.
* limitations under the License.
*/
*/
#include
<memtrack.h>
#include
<memtrack
/memtrack
.h>
#define LOG_TAG "memtrack"
#define LOG_TAG "memtrack"
...
...
This diff is collapsed.
Click to expand it.
libmemtrack/memtrack_test.c
+
1
−
1
View file @
481b947d
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include
<string.h>
#include
<string.h>
#include
<sys/types.h>
#include
<sys/types.h>
#include
<memtrack.h>
#include
<memtrack
/memtrack
.h>
#include
<pagemap/pagemap.h>
#include
<pagemap/pagemap.h>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment