From 21cea1d88eb8fcc094bea3bb08fd79a2f64e02fa Mon Sep 17 00:00:00 2001 From: Minchan Kim Date: Tue, 11 Apr 2023 16:44:57 +0000 Subject: [PATCH] remove dump_gs201 The event trace dumping moved into gs-common. Bug: 276901078 Test: dumpstate_board.txt on adb bugreport includes the info Change-Id: I4d0f0886ef9292f854c1009a80ba525347aa45a0 Signed-off-by: Minchan Kim --- dumpstate/Android.bp | 16 ---------------- dumpstate/dump_gs201.cpp | 22 ---------------------- 2 files changed, 38 deletions(-) delete mode 100644 dumpstate/dump_gs201.cpp diff --git a/dumpstate/Android.bp b/dumpstate/Android.bp index bcddbb6d..a325151d 100644 --- a/dumpstate/Android.bp +++ b/dumpstate/Android.bp @@ -8,19 +8,3 @@ sh_binary { vendor: true, sub_dir: "dump", } - -cc_binary { - name: "dump_gs201", - srcs: ["dump_gs201.cpp"], - cflags: [ - "-Wall", - "-Wextra", - "-Werror", - ], - shared_libs: [ - "libdump", - ], - vendor: true, - relative_install_path: "dump", -} - diff --git a/dumpstate/dump_gs201.cpp b/dumpstate/dump_gs201.cpp deleted file mode 100644 index 062f4ded..00000000 --- a/dumpstate/dump_gs201.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2022 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. - */ -#include - -// Dump gs201 info -int main() { - dumpFileContent("Pixel trace", "/sys/kernel/tracing/instances/pixel/trace"); - return 0; -}