mirror of
https://github.com/Evolution-X-Devices/device_google_redfin
synced 2026-01-29 09:13:51 +00:00
convert traffic stats log(extended_log_datastall_pkt.txt) to pcap
when dump bugreport.
Bug: 154492175
Test: 1. I do see extended_log_datastall.pcap file
in dumstate_board.bin when I trigger bugreport.
(data/vendor/radio/extended_logs/extended_log_datastall.txt)
2. I have do the test about incomplete/truncated logs, pcap just
can parse to wrong information but not impact the dumpstate
process.
Change-Id: Iea892bc66bbce8d7f219ca1cde3701cebb35ff80
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
#
|
|
# Copyright 2016 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := android.hardware.dumpstate@1.1-service.redfin
|
|
LOCAL_INIT_RC := android.hardware.dumpstate@1.1-service.redfin.rc
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
|
|
LOCAL_SRC_FILES := \
|
|
DumpstateDevice.cpp \
|
|
service.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
android.hardware.dumpstate@1.0 \
|
|
android.hardware.dumpstate@1.1 \
|
|
libbase \
|
|
libcutils \
|
|
libdumpstateutil \
|
|
libhidlbase \
|
|
liblog \
|
|
libutils \
|
|
libpcap
|
|
|
|
LOCAL_CFLAGS := -Werror -Wall
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_PROPRIETARY_MODULE := true
|
|
|
|
include $(BUILD_EXECUTABLE)
|