Skip to content

Commit ae65b44

Browse files
Anshuman Khandualacmel
authored andcommitted
perf tools: Add missing branch_sample_type to perf_event_attr__fprintf()
This updates branch sample type with missing PERF_SAMPLE_BRANCH_TYPE_SAVE. Suggested-by: James Clark <[email protected]> Signed-off-by: Anshuman Khandual <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: James Clark <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent b7b9825 commit ae65b44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/util/perf_event_attr_fprintf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static void __p_branch_sample_type(char *buf, size_t size, u64 value)
5252
bit_name(ABORT_TX), bit_name(IN_TX), bit_name(NO_TX),
5353
bit_name(COND), bit_name(CALL_STACK), bit_name(IND_JUMP),
5454
bit_name(CALL), bit_name(NO_FLAGS), bit_name(NO_CYCLES),
55-
bit_name(HW_INDEX),
55+
bit_name(TYPE_SAVE), bit_name(HW_INDEX),
5656
{ .name = NULL, }
5757
};
5858
#undef bit_name

0 commit comments

Comments
 (0)