Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
douglas-raillard-arm committed Jan 2, 2024
1 parent b9ece47 commit bc8d60b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/analysis/traceevent/src/cparser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1843,13 +1843,13 @@ grammar! {
"u8" | "__u8" | "uint8_t" | "u_char" | "unchar" | "u_int8_t" => Type::U8,

"s16" | "__s16" | "int16_t" => Type::I16,
"u16" | "__u16" | "uint16_t" | "u_short" | "ushort" | "u_int16_t" => Type::U16,
"u16" | "__u16" | "uint16_t" | "u_short" | "ushort" | "u_int16_t" | "__le16" | "__be16" | "__sum16" => Type::U16,

"s32" | "__s32" | "int32_t" => Type::I32,
"u32" | "__u32" | "uint32_t" | "u_int" | "uint" | "u_int32_t" | "gfp_t" | "slab_flags_t" | "fmode_t" | "OM_uint32" | "dev_t" | "nlink_t" => Type::U32,
"u32" | "__u32" | "uint32_t" | "u_int" | "uint" | "u_int32_t" | "gfp_t" | "slab_flags_t" | "fmode_t" | "OM_uint32" | "dev_t" | "nlink_t" | "__le32" | "__be32" | "__wsum" | "__poll_t" => Type::U32,

"s64" | "__s64" | "int64_t" | "loff_t" => Type::I64,
"u64" | "__u64" | "uint64_t" | "u_int64_t" | "sector_t" | "blkcnt_t" => Type::U64,
"u64" | "__u64" | "uint64_t" | "u_int64_t" | "sector_t" | "blkcnt_t" | "__le64" | "__be64" => Type::U64,

"pid_t" => Type::I32,

Expand Down

0 comments on commit bc8d60b

Please sign in to comment.