BCC tool 'softirqs' fails to show distributions as histograms

Solution Verified - Updated -

Issue

  • BCC tool softirqs fails to show distributions as histograms
# /usr/share/bcc/tools/softirqs -d
Tracing soft irq event time... Hit Ctrl-C to end.
^C
Traceback (most recent call last):
  File "/usr/share/bcc/tools/softirqs", line 144, in <module>
    args.dist.print_log2_hist(label, "softirq", section_print_fn=vec_to_name)
AttributeError: 'bool' object has no attribute 'print_log2_hist'

# /usr/share/bcc/tools/softirqs -d 10
Tracing soft irq event time... Hit Ctrl-C to end.

Traceback (most recent call last):
  File "/usr/share/bcc/tools/softirqs", line 144, in <module>
    args.dist.print_log2_hist(label, "softirq", section_print_fn=vec_to_name)
AttributeError: 'bool' object has no attribute 'print_log2_hist'

Environment

  • Red Hat Enterprise Linux 8
  • bcc-tools

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content