chromium/third_party/perfetto/src/trace_processor/tables/macros_internal.cc

/*
 * Copyright (C) 2024 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 "src/trace_processor/tables/macros_internal.h"

#include <cstdint>
#include <initializer_list>
#include <type_traits>
#include <utility>
#include <vector>

#include "perfetto/base/logging.h"
#include "perfetto/public/compiler.h"
#include "perfetto/trace_processor/ref_counted.h"
#include "src/trace_processor/containers/bit_vector.h"
#include "src/trace_processor/containers/row_map.h"
#include "src/trace_processor/containers/string_pool.h"
#include "src/trace_processor/db/column.h"
#include "src/trace_processor/db/column/overlay_layer.h"
#include "src/trace_processor/db/column/selector_overlay.h"
#include "src/trace_processor/db/column/storage_layer.h"
#include "src/trace_processor/db/column_storage_overlay.h"

namespace perfetto::trace_processor::macros_internal {

PERFETTO_NO_INLINE MacroTable::MacroTable(StringPool* pool,
                                          std::vector<ColumnLegacy> columns,
                                          const MacroTable* parent)
    :{}

PERFETTO_NO_INLINE MacroTable::MacroTable(StringPool* pool,
                                          std::vector<ColumnLegacy> columns,
                                          const MacroTable& parent,
                                          const RowMap& parent_overlay)
    :{}

PERFETTO_NO_INLINE void MacroTable::UpdateOverlaysAfterParentInsert() {}

PERFETTO_NO_INLINE void MacroTable::UpdateSelfOverlayAfterInsert() {}

PERFETTO_NO_INLINE std::vector<ColumnLegacy>
MacroTable::CopyColumnsFromParentOrAddRootColumns(MacroTable* self,
                                                  const MacroTable* parent) {}

PERFETTO_NO_INLINE void MacroTable::OnConstructionCompletedRegularConstructor(
    std::initializer_list<RefPtr<column::StorageLayer>> storage_layers,
    std::initializer_list<RefPtr<column::OverlayLayer>> null_layers) {}

PERFETTO_NO_INLINE std::vector<ColumnStorageOverlay>
MacroTable::EmptyOverlaysFromParent(const MacroTable* parent) {}

PERFETTO_NO_INLINE std::vector<ColumnStorageOverlay>
MacroTable::SelectedOverlaysFromParent(
    const macros_internal::MacroTable& parent,
    const RowMap& rm) {}

BaseConstIterator::BaseConstIterator(const MacroTable* table,
                                     Table::Iterator iterator)
    :{}

operator bool()

BaseConstIterator& BaseConstIterator::operator++() {}

BaseRowReference::BaseRowReference(const MacroTable* table, uint32_t row_number)
    :{}

}  // namespace perfetto::trace_processor::macros_internal