memleak-bpfcc: AttributeError: type object 'BPF' has no attribute 'monotonic_time'

Bug #1837957 reported by Seth Arnold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bpfcc (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello, memleak-bpfcc fails on my Bionic system with:

$ sudo memleak-bpfcc
[sudo] password for sarnold:
Attaching to kernel allocators, Ctrl+C to quit.
[17:24:00] Top 10 stacks with outstanding allocations:
Traceback (most recent call last):
  File "/usr/sbin/memleak-bpfcc", line 513, in <module>
    print_outstanding()
  File "/usr/sbin/memleak-bpfcc", line 447, in print_outstanding
    if BPF.monotonic_time() - min_age_ns < info.timestamp_ns:
AttributeError: type object 'BPF' has no attribute 'monotonic_time'

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: bpfcc-tools 0.5.0-5ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-54.58-generic 4.15.18
Uname: Linux 4.15.0-54-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Thu Jul 25 17:24:43 2019
InstallationDate: Installed on 2012-10-18 (2471 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
PackageArchitecture: all
ProcEnviron:
 TERM=rxvt-unicode-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: bpfcc
UpgradeStatus: Upgraded to bionic on 2018-05-02 (450 days ago)

Revision history for this message
Seth Arnold (seth-arnold) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.