DWARF2JSON version:
$ ./dwarf2json --version
dwarf2json 0.9.0
output schema 6.2.0
https://elixir.bootlin.com/linux/v6.8/source/include/linux/types.h#L124
Pahole is able to find the type in the vmlinux dwarf info.
$ pahole ./vmlinux-6.8.0-41-generic -C ktime_t
typedef s64 ktime_t;
However, it is not present in the generated ISF:
$ ./dwarf2json linux --elf ./vmlinux-6.8.0-41-generic | xz -c > Ubuntu_6.8.0-41-generic.json.xz
$ xzcat Ubuntu_6.8.0-41-generic.json.xz | jq ".user_types.ktime_t"
null
$ xzgrep "ktime_t" Ubuntu_6.8.0-41-generic.json.xz
"ktime_timestamps": {
"__UNIQUE_ID___addressable_rtc_ktime_to_tm300": {
"__crc_rtc_ktime_to_tm": {
"__kstrtab_rtc_ktime_to_tm": {
"__kstrtabns_rtc_ktime_to_tm": {
"__ksymtab_rtc_ktime_to_tm": {
"__pfx_do_timens_ktime_to_host": {
"__pfx_rtc_ktime_to_tm": {
"do_timens_ktime_to_host": {
"rtc_ktime_to_tm": {
It doesn't seem related to the recent Rust bindings issue:
$ pahole ./vmlinux-6.8.0-41-generic --lang=rust -C ktime_t
pahole: type 'ktime_t' not found
DWARF2JSON version:
https://elixir.bootlin.com/linux/v6.8/source/include/linux/types.h#L124
Pahole is able to find the type in the vmlinux dwarf info.
$ pahole ./vmlinux-6.8.0-41-generic -C ktime_t typedef s64 ktime_t;However, it is not present in the generated ISF:
It doesn't seem related to the recent Rust bindings issue: