diff options
author | Vladimir Oltean <[email protected]> | 2024-10-02 14:51:54 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-03 15:32:04 -0700 |
commit | 28aec9ca29f05dabb835293acc6e202bf51b8092 (patch) | |
tree | 86e96b24a4a21b550cdcce9a60c45ded39565492 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 7263f64e16d90ded44ce211381b2def83db32fd9 (diff) |
lib: packing: duplicate pack() and unpack() implementations
packing() is now used in some hot paths, and it would be good to get rid
of some ifs and buts that depend on "op", to speed things up a little bit.
With the main implementations now taking size_t endbit, we no longer
have to check for negative values. Update the local integer variables to
also be size_t to match.
Signed-off-by: Vladimir Oltean <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Reviewed-by: Przemek Kitszel <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Link: https://patch.msgid.link/20241002-packing-kunit-tests-and-split-pack-unpack-v2-5-8373e551eae3@intel.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions