Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf3d301c

Browse files
Al GrantPeter Zijlstra
Al Grant
authored and
Peter Zijlstra
committed
perf: correct SNOOPX field offset
perf_event.h has macros that define the field offsets in thedata_src bitmask in perf records. The SNOOPX and REMOTE offsetswere both 37. These are distinct fields, and the bitfield layoutin perf_mem_data_src confirms that SNOOPX should be at offset 38.Fixes:52839e6 ("perf tools: Add support for printing new mem_info encodings")Signed-off-by: Al Grant <al.grant@foss.arm.com>Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>Reviewed-by: Andi Kleen <ak@linux.intel.com>Link:https://lkml.kernel.org/r/4ac9f5cc-4388-b34a-9999-418a4099415d@foss.arm.com
1 parent7cf726a commitf3d301c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎include/uapi/linux/perf_event.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ union perf_mem_data_src {
11961196

11971197
#definePERF_MEM_SNOOPX_FWD0x01/* forward */
11981198
/* 1 free */
1199-
#definePERF_MEM_SNOOPX_SHIFT37
1199+
#definePERF_MEM_SNOOPX_SHIFT 38
12001200

12011201
/* locked instruction */
12021202
#definePERF_MEM_LOCK_NA0x01/* not available */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp