Skip to content

Commit

Permalink
Use 0x prefix in perf map
Browse files Browse the repository at this point in the history
  • Loading branch information
zyedidia committed Jan 27, 2025
1 parent deeebfb commit 1dc01af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liblfi/perf.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ int perf_output_jit_interface_file(uint8_t *buffer, size_t file_size, uintptr_t
}

// Write to perf map file
fprintf(out, "%016lx %08lx %s\n",
fprintf(out, "0x%016lx 0x%08lx %s\n",
(unsigned long)sym.st_value + offset,
(unsigned long)sym.st_size,
name);
Expand Down

0 comments on commit 1dc01af

Please sign in to comment.