-
Notifications
You must be signed in to change notification settings - Fork 711
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
link: unify KprobeOptions.Offset and UprobeOptions.Offset
Both options currently have subtly different definitions. Kprobe.Offset is counted from the start of the symbol, while Uprobe.Offset counts from the start of the address space. Rename UprobeOptions.Offset to Address and RelativeOffset to Offset. Existing users of UprobeOptions.Offset will get an error when they first upgrade the library, so make the error message even more explicit.
- Loading branch information
Showing
2 changed files
with
46 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters