Add new command kprobe_table.py to pykdump repository - #1
Open
alexn1st0r wants to merge 1 commit into
Open
Conversation
This commit adds a new command, kprobe_table.py, to the pykdump repository.
The command is designed to display all kprobes found in a Linux kernel dump.
It provides a convenient way to inspect and analyze kprobes within the
kernel dump, aiding in debugging and performance analysis.
The kprobe_table.py command enhances the functionality of pykdump by
providing insights into the kprobes present in the kernel dump.
This information can be invaluable for understanding the behavior of
the kernel and diagnosing issues.
This commit contributes to the ongoing development and enrichment of
the pykdump repository, empowering users with a comprehensive set of
tools for kernel dump analysis.
example usage:
```
epython pykdump/progs/kprobe_table.py
```
result:
```
Kprobe <struct kprobe 0xffff99668274a6c0>
addr: <tPtr addr=0xffffffff858fc3a0 ctype='kprobe_opcode_t *'>
opcode: 0
pre_handler:
addr 0xffffffff851ea4d0
name aggr_pre_handler
post_handler:
addr 0x0
name aggr_pre_handler
symbol_name: None
addr to sym: devlink_nl_param_fill
offset: 0
flags: 8
```
Signed-off-by: alexn1st0r <alexandernesterenko837@gmail.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit adds a new command, kprobe_table.py, to the pykdump repository.
The command is designed to display all kprobes found in a Linux kernel dump. It provides a convenient way to inspect and analyze kprobes within the kernel dump, aiding in debugging and performance analysis.
The kprobe_table.py command enhances the functionality of pykdump by
providing insights into the kprobes present in the kernel dump. This information can be invaluable for understanding the behavior of the kernel and diagnosing issues.
This commit contributes to the ongoing development and enrichment of
the pykdump repository, empowering users with a comprehensive set of tools for kernel dump analysis.
example usage:
result: