Skip to main content

Questions tagged [perf]

perf is Linux profiling tool for both Linux kernel and underlying hardware (hardware counters).

1 vote
0 answers
83 views

I'm trying to use linux perf program in a conda environment, but the perf program seems to ignore the conda environment. I installed the conda-forge::linux-perf package in my conda environment, but ...
pcarter's user avatar
  • 111
0 votes
0 answers
64 views

I wonder that if perf mem can detect the remote memory access on CXL NUMA Nodes. I got an AMD-EPYC-9654 server, and CXL Mem is on the Numa Node 2. I run a task on node 0, which accessed the remote ...
SeenThrough's user avatar
0 votes
0 answers
292 views

Originally posted here on stackoverflow I have never used the perf command before (but I need it), hence I have been reading the (really useful) PerfWiki. The section devoted to Event-based sampling ...
Sirion's user avatar
  • 101
1 vote
1 answer
200 views

I am working on an embedded Linux system (kernel-5.19.20), and I tried the perf tool in my SOC, found some functions did NOT work. After run perf record /test/perf_test, I got the perf.data, and perf ...
wangt13's user avatar
  • 651
0 votes
0 answers
520 views

I am working on an embedded Linux system (kernel-5.19.20) on MIPS, and I want to build tools/perf for my system. I want to have libelf feature enabled when cross compile perf, so I firstly cross-...
wangt13's user avatar
  • 651
1 vote
1 answer
317 views

I'm on Ubuntu 22.04.5 LTS (GNU/Linux 6.8.0-45-generic x86_64) I installed the perf packages sudo apt install linux-tools-common linux-tools-generic linux-tools-$(uname -r) but when I try to run perf ...
Rockstar5645's user avatar
1 vote
0 answers
179 views

For large files, perf report takes a while. e.g. around 5 minutes for 500G perf.data. Is there a way to dump (certain states of) perf report to a file, or tell perf to cache something that enables ...
A. K.'s user avatar
  • 136
0 votes
1 answer
218 views

On my perf report I see a bunch of lines with vdso modules and no function names. I am guessing these are for gettimeofday type calls. But how can I see actual function calls? My perf record command: ...
Eee Zee's user avatar
0 votes
2 answers
187 views

With the older kernels INST_RETIRED.ANY (as well as many of the other counters documented in https://perfmon-events.intel.com/ahybrid.htm ) worked as counters for perf. I am now using perf with a 6.7 ...
rkg125's user avatar
  • 1
2 votes
0 answers
112 views

I am trying to understand the CPU cache performance in a single producer single consumer queue algorithm, but cannot pinpoint the cause of performance degradation in some cases. The following ...
xealits's user avatar
  • 2,291
0 votes
1 answer
249 views

I'm not sure which tool to use for micro-benchmarking a C program. I would like to measure both: Memory usage, RSS ( Resident Set Size ) CPU cycles I did use perf record -g and perf script piped ...
jinTgreater's user avatar
1 vote
0 answers
42 views

I can't find more info about futex-default-S Is this a system call? module? or else? https://github.com/torvalds/linux/blob/06dc10eae55b5ceabfef287a7e5f16ceea204aa0/tools/perf/Documentation/perf-lock....
Mark Kang's user avatar
  • 975
1 vote
0 answers
281 views

so i've been playing with perf and assembly i have the following program: .intel_syntax noprefix .global _start _start: mov cl, 2 mov ebx, 0b101 shr ebx, cl and bl, 1 je do_stuff ...
Joao Luca's user avatar
0 votes
1 answer
817 views

The Ubuntu version I am using is Ubuntu 18.04.6 LTS, and the kernel version is 5.4.0-148 generic. My processor is 12th Gen Intel (R) Core (TM) i7-12700. I would like to know the number of TLB ...
citrusyi's user avatar
0 votes
0 answers
139 views

when I use perf it asked for more permission to be used: You may not have permission to collect stats. I was lazy so I did sudo perf (some short program I created myself) but I later realize you can ...
NewbMaster66's user avatar

15 30 50 per page
1
2 3 4 5
7