diff options
| author | Josh Poimboeuf <jpoimboe@kernel.org> | 2025-09-17 09:04:10 -0700 |
|---|---|---|
| committer | Josh Poimboeuf <jpoimboe@kernel.org> | 2025-10-14 14:50:19 -0700 |
| commit | 78be9facfb5e711e5284ef1856401ea909eceeb2 (patch) | |
| tree | 3c934afa97a197e27d5ce2fa65995a5ab29fd08b /tools/objtool/objtool.c | |
| parent | 2c2f0b8626917c48e4b12827d296a3c654612b90 (diff) | |
livepatch/klp-build: Add --show-first-changed option to show function divergence
Add a --show-first-changed option to identify where changed functions
begin to diverge:
- Parse 'objtool klp diff' output to find changed functions.
- Run objtool again on each object with --debug-checksum=<funcs>.
- Diff the per-instruction checksum debug output to locate the first
differing instruction.
This can be useful for quickly determining where and why a function
changed.
Acked-by: Petr Mladek <pmladek@suse.com>
Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'tools/objtool/objtool.c')
0 files changed, 0 insertions, 0 deletions