Project

General

Profile

Actions

Bug #3347

open

pctrack fails with kvm_nlist: No such file or directory

Added by tuxillo over 1 year ago. Updated over 1 year ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Userland
Target version:
Start date:
03/25/2023
Due date:
% Done:

0%

Estimated time:

Description

As reported by kworr, it seems pctrack(8) does not work:

# pctrack
pctrack: kvm_nlist: No such file or directory
Actions #1

Updated by tuxillo over 1 year ago

  • Status changed from New to In Progress

It only works for kernels built with DEBUG_PCTRACK. The program itself should warn instead of just spit that error.

Actions #2

Updated by tuxillo over 1 year ago

Definitely works when kernel is buitl with DEBUG_PCTRACK:

root@dev01:~ # pctrack -s -c 1
CPU 1 SYSTEM:
        0x0
        0x0
        0x0
        0x0
        0x0
        h2_XXH64+96
        hammer2_chain_lock+160
        memmove+266
        vm_page_lookup+125
        vm_page_lookup+125
        vm_page_lookup+125
        vm_page_hash_get+117
        calltrap+1
        syscall2+191
        vm_object_hold+13
        pv_placemarker_wakeup.isra.15+10
        pmap_scan_callback+523
        h2_XXH64+96
        pv_placemarker_wakeup.isra.15+10
        calltrap+1
        vtpci_notify_virtqueue+38
        vtpci_notify_virtqueue+38
        calltrap+1
        vm_page_alloc+3959
        vm_fault_object+1198
        calltrap+1
        calltrap+1
        lwkt_gettoken+677
        memmove+266
        memmove+266
        lwkt_gettoken+677
        lwkt_gettoken+677

Actions

Also available in: Atom PDF