Commit 277ebbc1 authored by Brenden Blanco's avatar Brenden Blanco Committed by GitHub

Merge pull request #1068 from goldshtn/syscount-python3

syscount: Use zip_longest for Python 3 compatibility
parents 30744c95 65453903
......@@ -10,12 +10,17 @@
# 15-Feb-2017 Sasha Goldshtein Created this.
from bcc import BPF
from itertools import izip_longest
from time import sleep, strftime
import argparse
import itertools
import subprocess
import sys
if sys.version_info.major < 3:
izip_longest = itertools.izip_longest
else:
izip_longest = itertools.zip_longest
#
# Syscall table for Linux x86_64, not very recent.
# Automatically generated from strace/linux/x86_64/syscallent.h using the
......
Markdown is supported
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