Merge "Moves libmemtrack header to standard location" into klp-dev
This commit is contained in:
commit
bbe4c49b4e
4 changed files with 12 additions and 4 deletions
|
|
@ -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);
|
||||||
*/
|
*/
|
||||||
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
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue