#include "src/trace_processor/importers/proto/perf_sample_tracker.h"
#include <cstdint>
#include <string>
#include "perfetto/base/logging.h"
#include "src/trace_processor/importers/common/track_tracker.h"
#include "src/trace_processor/storage/trace_storage.h"
#include "test/gtest_and_gmock.h"
#include "protos/perfetto/common/perf_events.gen.h"
#include "protos/perfetto/trace/profiling/profile_packet.gen.h"
#include "protos/perfetto/trace/profiling/profile_packet.pbzero.h"
#include "protos/perfetto/trace/trace_packet_defaults.gen.h"
#include "protos/perfetto/trace/trace_packet_defaults.pbzero.h"
namespace perfetto {
namespace trace_processor {
namespace {
class PerfSampleTrackerTest : public ::testing::Test { … };
TEST_F(PerfSampleTrackerTest, PerCpuCounterTracks) { … }
TEST_F(PerfSampleTrackerTest, TimebaseTrackName_Counter) { … }
TEST_F(PerfSampleTrackerTest, TimebaseTrackName_Tracepoint) { … }
TEST_F(PerfSampleTrackerTest, UnknownCounterTreatedAsCpuClock) { … }
TEST_F(PerfSampleTrackerTest, TimebaseTrackName_ConfigSuppliedName) { … }
TEST_F(PerfSampleTrackerTest, ProcessShardingStatsEntries) { … }
}
}
}