mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
ftrace: kmem: fix smmu ftrace entries
Use architecture portable unsigned long types instead of integer type. Change-Id: Ie345945f7d5edc0b646f7921444a8842ad3d200e Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
This commit is contained in:
parent
bbc50de4f6
commit
46b94d4710
1 changed files with 7 additions and 7 deletions
|
@ -562,17 +562,17 @@ DEFINE_EVENT(ion_alloc_pages, alloc_pages_sys_fail,
|
|||
|
||||
DECLARE_EVENT_CLASS(smmu_map,
|
||||
|
||||
TP_PROTO(unsigned int va,
|
||||
TP_PROTO(unsigned long va,
|
||||
phys_addr_t pa,
|
||||
unsigned int chunk_size,
|
||||
unsigned long chunk_size,
|
||||
size_t len),
|
||||
|
||||
TP_ARGS(va, pa, chunk_size, len),
|
||||
|
||||
TP_STRUCT__entry(
|
||||
__field(unsigned int, va)
|
||||
__field(unsigned long, va)
|
||||
__field(phys_addr_t, pa)
|
||||
__field(unsigned int, chunk_size)
|
||||
__field(unsigned long, chunk_size)
|
||||
__field(size_t, len)
|
||||
),
|
||||
|
||||
|
@ -583,7 +583,7 @@ DECLARE_EVENT_CLASS(smmu_map,
|
|||
__entry->len = len;
|
||||
),
|
||||
|
||||
TP_printk("v_addr=%p p_addr=%pa chunk_size=0x%x len=%zu",
|
||||
TP_printk("v_addr=%p p_addr=%pa chunk_size=0x%lu len=%zu",
|
||||
(void *)__entry->va,
|
||||
&__entry->pa,
|
||||
__entry->chunk_size,
|
||||
|
@ -591,9 +591,9 @@ DECLARE_EVENT_CLASS(smmu_map,
|
|||
);
|
||||
|
||||
DEFINE_EVENT(smmu_map, iommu_map_range,
|
||||
TP_PROTO(unsigned int va,
|
||||
TP_PROTO(unsigned long va,
|
||||
phys_addr_t pa,
|
||||
unsigned int chunk_size,
|
||||
unsigned long chunk_size,
|
||||
size_t len),
|
||||
|
||||
TP_ARGS(va, pa, chunk_size, len)
|
||||
|
|
Loading…
Reference in a new issue