-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide feedback when only symbols or only types are produced #22
Comments
Hey @ikelos, I'm very late to this, but since no one has responded yet, here are my two cents.
$ dwarf2json --elf [vmlinux-x.y.z] | xz -c > linux_x.y.z.json.xz That's all. How is System.map generated?The $ nm -n vmlinux > System.map In newer kernel versions, it has changed a bit and it's now a sed script, and they do something like |
Hi Gus, yep, I totally agree with what you've said but I'm pretty sure we've had people generating ISF files from the wrong type of kernel or something and so we recommend the system map as a belt-and-braces solution, which is why I was after a quick way for people to know whether what they've generated had the right data or not. I had quite forgotten I'd filed this though so it can't be that significant of an issue. |
Just a very simple status line about the generated file that tells you the number of base types, types, symbols and enums would be really helpful to tell whether the user's provided the right file. Should be pretty easy to put in place? |
There may be an expectation that just providing an elf file, or just providing the system.map will be enough to generate a complete JSON file. It would be awesome to be able to let the user know if the JSON file they've generated won't necessarily work properly (ie, lacking symbols, lacking types, lacking banner/constant_data).
The text was updated successfully, but these errors were encountered: