Tôi đang làm NDK profiling cho dự án của mình bằng android-ndk-profiler-3.1. Tôi đã thực hiện những thay đổi trong Android.mk như sau ...Hiển thị hồ sơ NDK ".so không có biểu tượng"
LOCAL_PATH := $(call my-dir)
-include android-ndk-profiler.mk
include $(CLEAR_VARS)
# Module name -------------------------------------------------------
LOCAL_CFLAGS += -O3
TARGET_ARCH_ABI :=armeabi
LOCAL_CFLAGS := -pg
LOCAL_STATIC_LIBRARIES := andprof
LOCAL_LDLIBS += -llog
LOCAL_MODULE := libitv
include $(BUILD_SHARED_LIBRARY)
Application.mk như sau ...
APP_ABI := armeabi
APP_PLATFORM := android-10
Tôi đã gọi monstartup ("itv.so"); chức năng ở đầu mã nguồn gốc và moncleanup(); chức năng trong phương pháp dừng. Và tệp gmon.out được tạo thành công.Và sau đó tôi đã dán gmon.out trong D: \ android \ android-ndk-r6-windows \ android-ndk-r6 \ toolchains \ arm-linux-androideabi-4.4.3 \ prebuilt \ windows \ bin thư mục.
Nhưng khi tôi đang cố gắng để đọc gmon.out sử dụng lệnh sau đây ...
D:\android\android-ndk-r6-windows\android-ndk-r6\toolchains\arm-linux-androideab
i-4.4.3\prebuilt\windows\bin>arm-linux-androideabi-gprof D:\InternetTV_FD_Canvas
\libs\armeabi\libitv.so > out.txt
Lỗi này đang hiển thị ...
arm-linux-androideabi-gprof: file `D:\InternetTV_FD_Canvas\libs\armeabi\libitv.so'
has no symbols
Tôi không thể làm ra tại sao lỗi này đến ngay cả khi tôi đã làm mọi thứ tốt đẹp.
Ai cũng có thể giúp tôi.
Mọi trợ giúp sẽ được đánh giá cao.
Cảm ơn trước.
Cảm ơn bạn rất nhiều vì đã trả lời ... Tôi không biết điều này. Bây giờ vấn đề của tôi đã được giải quyết. :) – geeta