Skip to content

Instantly share code, notes, and snippets.

View pyhundan's full-sized avatar

hundan pyhundan

  • South China Normal University
  • Guangzhou
View GitHub Profile
@pyhundan
pyhundan / sync_count.py
Last active June 8, 2021 02:23
sync_count.py
from __future__ import print_function
from sys import flags, maxsize
from bcc import BPF, PerfHWConfig
b= BPF (text="""
//create a map with default
BPF_HASH(last);
//BPF_HASH(map);