Coroutine call tracking method, system and device and readable storage medium

The invention relates to a coroutine call tracking method, system and device and a readable storage medium. The method comprises the steps of obtaining a call request; according to the calling request, an initial coroutine is created, and the initial coroutine comprises an initial coroutine number a...

Full description

Saved in:
Bibliographic Details
Main Authors XIANG YANG, YIN JIPING, NIE RUNJIE
Format Patent
LanguageChinese
English
Published 22.09.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention relates to a coroutine call tracking method, system and device and a readable storage medium. The method comprises the steps of obtaining a call request; according to the calling request, an initial coroutine is created, and the initial coroutine comprises an initial coroutine number and initial operation; according to the initial coroutine, a sub-coroutine is created, and the sub-coroutine comprises a coroutine number and a coroutine operation; when the calling request triggers a preset eBPF application program, establishing a coroutine relation tree according to a coroutine relation establishment rule, an initial coroutine number and a coroutine number; and performing calling tracking on the sub-coroutines based on the coroutine relation tree. The invention has the effect of reducing the invasion of the tracking method to the code. 本发明涉及一种协程调用追踪方法、系统、设备及可读存储介质,其方法包括获取调用请求;根据调用请求,创建初始协程,初始协程包括初始协程号和初始操作;根据初始协程,创建子协程,子协程包括协程号和协程操作;当调用请求触发预设的eBPF应用程序时,根据协程关系建立规则、初始协程号和协程号,建立协程关系树;基于协程关系树,对子协程进行调用
Bibliography:Application Number: CN202310597209