mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
0a4cd28f84
Requires a minor tweak to the deadlock detector patch (the file was renamed in the upstream repo). bcc now also wants a copy of libbpf, which it doesn't have in the source release tarball. Clone a copy from GiHub that's synchronized with the release, and put it in place. Tested on Linux 5.1 (with bpftrace as well). Signed-off-by: Austin Seipp <aseipp@pobox.com>
15 lines
454 B
Diff
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
|