mirror of
https://github.com/AsahiLinux/m1n1
synced 2025-02-16 21:58:27 +00:00
trace_dcp: Add dcpdp-device-epic tracer
Signed-off-by: Sven Peter <sven@svenpeter.dev>
This commit is contained in:
parent
3e112460cd
commit
c8d606e270
1 changed files with 15 additions and 0 deletions
|
@ -862,8 +862,23 @@ class DPAVController(EPICEp):
|
|||
class DPSACService(EPICEp):
|
||||
NAME = "dpsac"
|
||||
|
||||
|
||||
class DCPDPDeviceEpicTracer(EPICServiceTracer):
|
||||
NAME = "dcpdp-device-epic"
|
||||
|
||||
@epic_service_cmd(0, 15)
|
||||
def getDeviceMatchingData(self, data):
|
||||
self.log("> getDeviceMatchingData")
|
||||
@epic_service_reply(0, 15)
|
||||
def getDeviceMatchingData_reply(self, data):
|
||||
self.log("< getDeviceMatchingData")
|
||||
chexdump(data, print_fn=self.log)
|
||||
|
||||
class DPDevService(EPICEp):
|
||||
NAME = "dpdev"
|
||||
SERVICES = [
|
||||
DCPDPDeviceEpicTracer
|
||||
]
|
||||
|
||||
class DPAVService(EPICEp):
|
||||
NAME = "dpavserv"
|
||||
|
|
Loading…
Add table
Reference in a new issue