Home | History | Annotate | Download | only in core
      1 /*
      2  * Copyright (C) 2018 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 #include "perfetto/tracing/core/consumer.h"
     18 #include "perfetto/tracing/core/producer.h"
     19 #include "perfetto/tracing/core/service.h"
     20 #include "perfetto/tracing/core/shared_memory.h"
     21 #include "perfetto/tracing/core/shared_memory_arbiter.h"
     22 
     23 // This translation unit contains the definitions for the destructor of pure
     24 // virtual interfaces for the current build target. The alternative would be
     25 // introducing a one-liner .cc file for each pure virtual interface, which is
     26 // overkill. This is for compliance with -Wweak-vtables.
     27 
     28 namespace perfetto {
     29 
     30 Consumer::~Consumer() = default;
     31 Producer::~Producer() = default;
     32 Service::~Service() = default;
     33 Service::ConsumerEndpoint::~ConsumerEndpoint() = default;
     34 Service::ProducerEndpoint::~ProducerEndpoint() = default;
     35 SharedMemory::~SharedMemory() = default;
     36 SharedMemory::Factory::~Factory() = default;
     37 SharedMemoryArbiter::~SharedMemoryArbiter() = default;
     38 
     39 }  // namespace perfetto
     40