diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2025-08-01 13:55:33 +0200 |
---|---|---|
committer | Christoph Müllner <christophm30@gmail.com> | 2025-08-01 20:40:25 +0200 |
commit | 5d061c0ee23b1052d796e4e8e421aa6e16166fed (patch) | |
tree | 0ec5b8dceabfae236de0759c048b2a8fefad047f /linux-headers/include/linux/psample.h | |
parent | 686d7e6564509f1b25127df47e2f27a66958d0a0 (diff) | |
download | riscv-gnu-toolchain-master.zip riscv-gnu-toolchain-master.tar.gz riscv-gnu-toolchain-master.tar.bz2 |
This patch imports the Linux kernel headers v6.16.
This brings tons of new supported extensions for hwprobe.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'linux-headers/include/linux/psample.h')
-rw-r--r-- | linux-headers/include/linux/psample.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/linux-headers/include/linux/psample.h b/linux-headers/include/linux/psample.h index e585db5..b765f0e 100644 --- a/linux-headers/include/linux/psample.h +++ b/linux-headers/include/linux/psample.h @@ -8,7 +8,11 @@ enum { PSAMPLE_ATTR_ORIGSIZE, PSAMPLE_ATTR_SAMPLE_GROUP, PSAMPLE_ATTR_GROUP_SEQ, - PSAMPLE_ATTR_SAMPLE_RATE, + PSAMPLE_ATTR_SAMPLE_RATE, /* u32, ratio between observed and + * sampled packets or scaled probability + * if PSAMPLE_ATTR_SAMPLE_PROBABILITY + * is set. + */ PSAMPLE_ATTR_DATA, PSAMPLE_ATTR_GROUP_REFCOUNT, PSAMPLE_ATTR_TUNNEL, @@ -19,6 +23,11 @@ enum { PSAMPLE_ATTR_LATENCY, /* u64, nanoseconds */ PSAMPLE_ATTR_TIMESTAMP, /* u64, nanoseconds */ PSAMPLE_ATTR_PROTO, /* u16 */ + PSAMPLE_ATTR_USER_COOKIE, /* binary, user provided data */ + PSAMPLE_ATTR_SAMPLE_PROBABILITY,/* no argument, interpret rate in + * PSAMPLE_ATTR_SAMPLE_RATE as a + * probability scaled 0 - U32_MAX. + */ __PSAMPLE_ATTR_MAX }; |