+2
−2
Loading
bpftrace scripts do not allow struct definitions after the first probe definition (including BEGIN/END). This is problematic for an upcoming patch which will include some struct defintions. So instead just add the generated BEGIN/END probes with enum definitions to the end of the user-specified script, instead of the beginning. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I7bc8c18c0891ee26edc099aef96ea18ed63ccb72 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9670 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>