diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2021-06-29 02:58:51 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2021-06-30 09:52:37 +0000 |
commit | 5c1124c38015de95d4b9e6d1882eae99530d893b (patch) | |
tree | 601d91657ce5e6bfb29625e03338d11edd797195 /tests/perf_event_open.c | |
parent | 069331cb158e7c8c8d868c1d2f48bfd674d83608 (diff) | |
download | strace-5c1124c38015de95d4b9e6d1882eae99530d893b.tar.gz |
xlat: add PERF_SAMPLE_WEIGHT_STRUCT to perf_event_sample_format
* src/xlat/perf_event_sample_format.in (PERF_SAMPLE_WEIGHT_STRUCT):
New constant, introduced in Linux commit v5.12~401^2~9.
* tests/perf_event_open.c: Update the expected output for sample_type
field checks.
Diffstat (limited to 'tests/perf_event_open.c')
-rw-r--r-- | tests/perf_event_open.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/perf_event_open.c b/tests/perf_event_open.c index 8c3cbf6e4..7bddfd72c 100644 --- a/tests/perf_event_open.c +++ b/tests/perf_event_open.c @@ -550,7 +550,8 @@ main(void) "PERF_SAMPLE_REGS_INTR|PERF_SAMPLE_PHYS_ADDR|" "PERF_SAMPLE_AUX|PERF_SAMPLE_CGROUP|" "PERF_SAMPLE_DATA_PAGE_SIZE|PERF_SAMPLE_CODE_PAGE_SIZE|" - "0xffffffffff000000" }, + "PERF_SAMPLE_WEIGHT_STRUCT|" + "0xfffffffffe000000" }, }; static const struct u64_val_str read_formats[] = { { ARG_STR(0) }, |