• Sasha Goldshtein's avatar
    funccount: Verify probe max limit (#771) · 3ba14ef7
    Sasha Goldshtein authored
    Because `funccount` doesn't use the direct regex attach infrastructure
    in the BPF module, it needs its own checking for a maximum probe
    limit that would make sense. We use 1000 because that's what the
    BPF module uses as well. When trying to attach to more than 1000
    probes, we bail out early.
    3ba14ef7
funccount.py 11.1 KB