• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2022 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 "src/trace_processor/importers/common/trace_parser.h"
18 
19 #include "src/trace_processor/importers/common/parser_types.h"
20 #include "src/trace_processor/importers/fuchsia/fuchsia_record.h"
21 #include "src/trace_processor/importers/systrace/systrace_line.h"
22 
23 namespace perfetto {
24 namespace trace_processor {
25 
ParseTracePacket(int64_t,TracePacketData)26 void TraceParser::ParseTracePacket(int64_t, TracePacketData) {
27   PERFETTO_FATAL("Wrong parser type");
28 }
ParseJsonPacket(int64_t,std::string)29 void TraceParser::ParseJsonPacket(int64_t, std::string) {
30   PERFETTO_FATAL("Wrong parser type");
31 }
ParseFuchsiaRecord(int64_t,FuchsiaRecord)32 void TraceParser::ParseFuchsiaRecord(int64_t, FuchsiaRecord) {
33   PERFETTO_FATAL("Wrong parser type");
34 }
ParseTrackEvent(int64_t,TrackEventData)35 void TraceParser::ParseTrackEvent(int64_t, TrackEventData) {
36   PERFETTO_FATAL("Wrong parser type");
37 }
ParseSystraceLine(int64_t,SystraceLine)38 void TraceParser::ParseSystraceLine(int64_t, SystraceLine) {
39   PERFETTO_FATAL("Wrong parser type");
40 }
ParseFtraceEvent(uint32_t,int64_t,TracePacketData)41 void TraceParser::ParseFtraceEvent(uint32_t, int64_t, TracePacketData) {
42   PERFETTO_FATAL("Wrong parser type");
43 }
ParseInlineSchedSwitch(uint32_t,int64_t,InlineSchedSwitch)44 void TraceParser::ParseInlineSchedSwitch(uint32_t, int64_t, InlineSchedSwitch) {
45   PERFETTO_FATAL("Wrong parser type");
46 }
ParseInlineSchedWaking(uint32_t,int64_t,InlineSchedWaking)47 void TraceParser::ParseInlineSchedWaking(uint32_t, int64_t, InlineSchedWaking) {
48   PERFETTO_FATAL("Wrong parser type");
49 }
50 
51 }  // namespace trace_processor
52 }  // namespace perfetto
53