Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6eea6fb2 authored by Jamie Gennis's avatar Jamie Gennis
Browse files

atrace: clean up tracing option enabling

This change switches atrace to use a table-driven approach to enabling and
disabling options.  It unifies how framework and kernel tracing are enabled,
and causes userland tracing options to be picked up by currently running
processes.

Change-Id: Iba2a3012ca0a67c4defdd076bce597db26e9f539
parent a4367996
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -3,15 +3,18 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= atrace.c
LOCAL_SRC_FILES:= atrace.cpp

LOCAL_C_INCLUDES += external/zlib
LOCAL_CFLAGS += -std=c99

LOCAL_MODULE:= atrace

LOCAL_MODULE_TAGS:= optional

LOCAL_SHARED_LIBRARIES := libz
LOCAL_SHARED_LIBRARIES := \
    libbinder \
    libcutils \
    libutils \
    libz \

include $(BUILD_EXECUTABLE)
+297 −229

File changed and moved.

Preview size limit exceeded, changes collapsed.