1 /* 2 * Copyright (c) Huawei Technologies Co., Ltd. 2023. All rights reserved. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #include "trace_streamer_filters.h" 17 #include "animation_filter.h" 18 #include "app_start_filter.h" 19 #include "args_filter.h" 20 #include "binder_filter.h" 21 #include "clock_filter_ex.h" 22 #include "cpu_filter.h" 23 #include "filter_filter.h" 24 #include "frame_filter.h" 25 #ifdef ENABLE_HISYSEVENT 26 #include "hi_sysevent_measure_filter.h" 27 #endif 28 #include "irq_filter.h" 29 #include "measure_filter.h" 30 #include "perf_data_filter.h" 31 #include "process_filter.h" 32 #include "slice_filter.h" 33 #include "stat_filter.h" 34 #include "syscall_filter.h" 35 #include "system_event_measure_filter.h" 36 #include "task_pool_filter.h" 37 #include "config_filter.h" 38 39 namespace SysTuning { 40 namespace TraceStreamer { 41 TraceStreamerFilters::TraceStreamerFilters() = default; 42 TraceStreamerFilters::~TraceStreamerFilters() = default; FilterClear()43void TraceStreamerFilters::FilterClear() 44 { 45 binderFilter_->Clear(); 46 sliceFilter_->Clear(); 47 cpuFilter_->Clear(); 48 irqFilter_->Clear(); 49 frameFilter_->Clear(); 50 syscallFilter_->Clear(); 51 } 52 } // namespace TraceStreamer 53 } // namespace SysTuning 54