Skip to content

Unintended output determining 'cache line size' & 'perf tools' availabililty #7

@srcshelton

Description

@srcshelton

Within a (privileged) podman container:

# python sysreport.py --verbose
…
System hardware:
  Architecture:        aarch64
  CPUs:                12
  CPU types:           8 x Arm Part 0xd81 r0p1, 4 x Arm Part 0xd80 r0p1
  cache info:          <unknown>
>>> getconf LEVEL1_DCACHE_LINESIZE
#o# b'64\n'
#e# b''
  cache line size:     64
…
Performance features:
  perf tools:          False
>>> which perf
#o# b''
#e# b'which: no perf in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)\n'
  perf with OpenCSD:   False
# python --version
Python 3.13.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions