MCPcopy Create free account
hub / github.com/F-Stack/f-stack / dump

Method dump

dpdk/buildtools/pmdinfogen.py:191–198  ·  view source on GitHub ↗
(self, file)

Source from the content-addressed store, hash-verified

189 return result
190
191 def dump(self, file):
192 dumped = json.dumps(self.__dict__)
193 escaped = dumped.replace('"', '\\"')
194 print(
195 'const char %s_pmd_info[] __attribute__((used)) = "PMD_INFO_STRING= %s";'
196 % (self.name, escaped),
197 file=file,
198 )
199
200
201def load_drivers(image):

Callers 2

lapic_dumpFunction · 0.80
dump_driversFunction · 0.80

Calls 1

printFunction · 0.50

Tested by

no test coverage detected