Skip to content
Commit d1bf7c4d authored by Muhammad Falak R Wani's avatar Muhammad Falak R Wani Committed by Andrii Nakryiko
Browse files

samples/bpf: Define MAX_ENTRIES instead of a magic number in offwaketime



Define MAX_ENTRIES instead of using 10000 as a magic number in various
places.

Signed-off-by: default avatarMuhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210815065013.15411-1-falakreyaz@gmail.com
parent faff1cca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment