linuxPackages.bcc: make it useable as a python library

This commit is contained in:
Jörg Thalheim
2018-05-29 14:30:00 +01:00
parent 510efa7248
commit c52dff6d84
4 changed files with 62 additions and 15 deletions
@@ -0,0 +1,14 @@
--- source.org/tools/deadlock_detector.py 1980-01-02 00:00:00.000000000 +0000
+++ source/tools/deadlock_detector.py 2018-05-29 13:57:11.807126673 +0100
@@ -44,9 +44,8 @@
#
# 01-Feb-2017 Kenny Yu Created this.
-from __future__ import (
- absolute_import, division, unicode_literals, print_function
-)
+from __future__ import absolute_import, division, unicode_literals, print_function
+
from bcc import BPF
from collections import defaultdict
import argparse