Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
auto import from //depot/cupcake/@135843
Browse files Browse the repository at this point in the history
  • Loading branch information
The Android Open Source Project committed Mar 4, 2009
1 parent dfb3f05 commit 10e23ee
Show file tree
Hide file tree
Showing 103 changed files with 15,275 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Android.mk
@@ -0,0 +1,3 @@
ifeq ($(TARGET_ARCH),arm)
include $(call all-subdir-makefiles)
endif
Empty file added MODULE_LICENSE_GPL
Empty file.
340 changes: 340 additions & 0 deletions NOTICE

Large diffs are not rendered by default.

101 changes: 101 additions & 0 deletions config.h
@@ -0,0 +1,101 @@
/* config.h. Generated by configure. */
/* config.h.in. Generated from configure.in by autoheader. */

/* whether popt prototype takes a const char ** */
#define CONST_POPT 1

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define to 1 if you have the `bfd' library (-lbfd). */
#define HAVE_LIBBFD 1

/* Define to 1 if you have the `iberty' library (-liberty). */
#define HAVE_LIBIBERTY 1

/* Define to 1 if you have the <libiberty.h> header file. */
/* #undef HAVE_LIBIBERTY_H */

/* Define to 1 if you have the `popt' library (-lpopt). */
#define HAVE_LIBPOPT 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the `perfmonctl' function. */
/* #undef HAVE_PERFMONCTL */

/* Define to 1 if you have the `sched_setaffinity' function. */
/* #undef HAVE_SCHED_SETAFFINITY */

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define to 1 if you have the `xcalloc' function. */
#undef HAVE_XCALLOC

/* Define to 1 if you have the `xmemdup' function. */
#undef HAVE_XMEMDUP

/* whether malloc attribute is understood */
#define MALLOC_ATTRIBUTE_OK 1

/* whether to build ABI tools */
#define OPROF_ABI 1

/* package binary directory */
#define OP_BINDIR "/usr/local/bin/"

/* package data directory */
#define OP_DATADIR "/usr/local/share/oprofile/"

/* Name of package */
#define PACKAGE "oprofile"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""

/* Define to the full name of this package. */
#define PACKAGE_NAME ""

/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""

/* Define to the version of this package. */
#define PACKAGE_VERSION ""

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* Synthesize special symbols when needed */
/* #undef SYNTHESIZE_SYMBOLS */

/* whether bfd.h defines bool values */
/* #undef TRUE_FALSE_ALREADY_DEFINED */

/* Version number of package */
#define VERSION "0.9.1"

/* Define to 1 if the X Window System is missing or not being used. */
/* #undef X_DISPLAY_MISSING */
33 changes: 33 additions & 0 deletions daemon/Android.mk
@@ -0,0 +1,33 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
init.c \
opd_anon.c \
opd_cookie.c \
opd_events.c \
opd_kernel.c \
opd_mangling.c \
opd_perfmon.c \
opd_pipe.c \
opd_sfile.c \
opd_spu.c \
opd_stats.c \
opd_trans.c \
oprofiled.c

LOCAL_STATIC_LIBRARIES := \
libpopt libutil libdb libabi libop

LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/.. \
$(LOCAL_PATH)/../libdb \
$(LOCAL_PATH)/../libutil \
$(LOCAL_PATH)/../libop \
$(LOCAL_PATH)/../libabi

LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
LOCAL_MODULE_TAGS := debug
LOCAL_MODULE:= oprofiled

include $(BUILD_EXECUTABLE)

0 comments on commit 10e23ee

Please sign in to comment.