perf_sample_data
Regular
4.4
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
};
4.8
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
};
4.10
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
};
4.13
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
};
4.15
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
4.18
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
5.0
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
5.3
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
5.4
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
5.8
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
u64 aux_size;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
u64 cgroup;
};
5.11
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
u64 aux_size;
struct perf_regs regs_user;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
u64 cgroup;
u64 data_page_size;
u64 code_page_size;
};
5.13
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
union perf_sample_weight weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
u64 aux_size;
struct perf_regs regs_user;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
u64 cgroup;
u64 data_page_size;
u64 code_page_size;
};
5.15
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
union perf_sample_weight weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
u64 aux_size;
struct perf_regs regs_user;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
u64 cgroup;
u64 data_page_size;
u64 code_page_size;
};
5.19
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
union perf_sample_weight weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
u64 aux_size;
struct perf_regs regs_user;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
u64 cgroup;
u64 data_page_size;
u64 code_page_size;
};
6.2
: ✅struct perf_sample_data {
u64 sample_flags;
u64 period;
struct perf_branch_stack *br_stack;
union perf_sample_weight weight;
union perf_mem_data_src data_src;
u64 txn;
u64 addr;
struct perf_raw_record *raw;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
u64 aux_size;
struct perf_regs regs_user;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
u64 cgroup;
u64 data_page_size;
u64 code_page_size;
};
6.5
: ✅struct perf_sample_data {
u64 sample_flags;
u64 period;
u64 dyn_size;
u64 type;
struct (anon) tid_entry;
u64 time;
u64 id;
struct (anon) cpu_entry;
u64 ip;
struct perf_callchain_entry *callchain;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
union perf_sample_weight weight;
union perf_mem_data_src data_src;
u64 txn;
struct perf_regs regs_user;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 stream_id;
u64 cgroup;
u64 addr;
u64 phys_addr;
u64 data_page_size;
u64 code_page_size;
u64 aux_size;
};
6.8
: ✅struct perf_sample_data {
u64 sample_flags;
u64 period;
u64 dyn_size;
u64 type;
struct (anon) tid_entry;
u64 time;
u64 id;
struct (anon) cpu_entry;
u64 ip;
struct perf_callchain_entry *callchain;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 *br_stack_cntr;
union perf_sample_weight weight;
union perf_mem_data_src data_src;
u64 txn;
struct perf_regs regs_user;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 stream_id;
u64 cgroup;
u64 addr;
u64 phys_addr;
u64 data_page_size;
u64 code_page_size;
u64 aux_size;
};
arm64
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
armhf
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
ppc64el
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
riscv64
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
aws
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
azure
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
gcp
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
lowlatency
: ✅struct perf_sample_data {
u64 addr;
struct perf_raw_record *raw;
struct perf_branch_stack *br_stack;
u64 period;
u64 weight;
u64 txn;
union perf_mem_data_src data_src;
u64 type;
u64 ip;
struct (anon) tid_entry;
u64 time;
u64 id;
u64 stream_id;
struct (anon) cpu_entry;
struct perf_callchain_entry *callchain;
struct perf_regs regs_user;
struct pt_regs regs_user_copy;
struct perf_regs regs_intr;
u64 stack_user_size;
u64 phys_addr;
};
Regular
4.4
and 4.8
✅
4.8
and 4.10
✅
4.10
and 4.13
✅
4.13
and 4.15
⚠️u64 phys_addr
4.15
and 4.18
✅
4.18
and 5.0
✅
5.0
and 5.3
✅
5.3
and 5.4
✅
5.4
and 5.8
⚠️u64 aux_size
u64 cgroup
5.8
and 5.11
⚠️u64 data_page_size
u64 code_page_size
struct pt_regs regs_user_copy
5.11
and 5.13
⚠️u64 weight
➡️ union perf_sample_weight weight
5.13
and 5.15
✅
5.15
and 5.19
✅
5.19
and 6.2
⚠️u64 sample_flags
6.2
and 6.5
⚠️u64 dyn_size
6.5
and 6.8
⚠️u64 *br_stack_cntr
amd64
and arm64
✅
amd64
and armhf
✅
amd64
and ppc64el
✅
amd64
and riscv64
✅
generic
and aws
✅
generic
and azure
✅
generic
and gcp
✅
generic
and lowlatency
✅