Skip to content

Regarding the issue where the Parca agent can only collect the kernel-mode system call stack but cannot obtain the system call stack information of the mysqld itself. #3098

@xty-11

Description

@xty-11

Dear Author, I want to continuously monitor the relevant information of the mysqld process to detect the call stack information during the operation of mysqld.
However, I have encountered a problem. I can only collect the system call information of mysqld, but there is no code of the mysqld process itself.
As shown in the figure in the attachment:

Image Image

My configuration file is as follows:

parca.yaml

object_storage:
bucket:
type: "FILESYSTEM"
config:
directory: "./data"

parca-agent.yaml

node: "test-mysqld"

profiling:
user-space:
enabled: true
kernel-space:
enabled: false

Run the command as follows:
[root@perftest-1602786448 tem]# sudo ./parca-agent_0.41.1_Linux_x86_64 --config-path=./parca-agent.yaml --remote-store-address=127.0.0.1:7070 --remote-store-insecure
[root@perftest-1602786448 tem]# ./parca --config-path=./parca.yaml

I also checked these parameters on my Linux system:
[root@perftest-1602786448 tem]# uname -r
5.10.0-1.oe.jd_445.x86_64
[root@perftest-1602786448 tem]# zcat /proc/config.gz | grep CONFIG_UNWINDER_ORC
CONFIG_UNWINDER_ORC=y
[root@perftest-1602786448 tem]# zcat /proc/config.gz | grep CONFIG_BPF_USER
[root@perftest-1602786448 tem]# zcat /proc/config.gz | grep CONFIG_BPF
CONFIG_BPF=y
# CONFIG_BPF_LSM is not set
CONFIG_BPF_SCHED=y
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT_ALWAYS_ON=y
CONFIG_BPF_JIT_DEFAULT_ON=y
# CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set
# CONFIG_BPF_PRELOAD is not set
# CONFIG_BPFILTER is not set
CONFIG_BPF_JIT=y
CONFIG_BPF_STREAM_PARSER=y
CONFIG_BPF_EVENTS=y
# CONFIG_BPF_KPROBE_OVERRIDE is not set

Could you please tell me why I am unable to obtain the user-level process information of mysqld? I don't know how to solve this problem. I am looking forward to your reply.

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