Commit 39619c9c authored by Junhao He's avatar Junhao He
Browse files

perf: Fix kabi breakage in struct perf_branch_entry

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I8DFTV


CVE: NA

--------------------------------

Fix kabi breakage in commit b6b0f1324f6a [1], 423feb16ead5 [2],
a75073a3a251 [3]

[1]: b6b0f1324f6a ("perf: Capture branch privilege information")
[2]: 423feb16ead5 ("perf: Extend branch type classification")
[3]: a75073a3a251 ("perf/core: Add speculation info to branch entries")

Signed-off-by: default avatarJunhao He <hejunhao3@huawei.com>
parent 2690e65a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1341,10 +1341,14 @@ struct perf_branch_entry {
		abort:1,    /* transaction abort */
		cycles:16,  /* cycle count to last branch */
		type:4,     /* branch type */
#ifdef __GENKSYMS__
		reserved:40;
#else
		spec:2,     /* branch speculation info */
		new_type:4, /* additional branch type */
		priv:3,     /* privilege level */
		reserved:31;
#endif
};

union perf_sample_weight {