nixpkgs/pkgs/by-name/bc/bcc/fix-deadlock-detector-import.patch
Dominique Martinet e9531dec25 bcc: migrate to by-name
The package is left in all-packages to allow setting llvmPackages more
easily
2024-05-12 19:05:44 +09:00

15 lines
454 B
Diff

--- source.org/tools/deadlock.py 1980-01-02 00:00:00.000000000 +0000
+++ source/tools/deadlock.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