Re: RBD Tracing with Jaeger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No, I can't, because gdb attaches to processes, and as I've just said, rbd isn't a process

On 6/21/2020 2:07 AM, Abhinav Singh wrote:
Hey Dan,
can you please tell me how can I attach my gdb to rbd so that I can see whole req flow step by step with its help

On Sun, 21 Jun 2020, 05:03 Dan Mick, <dmick@xxxxxxxxxx <mailto:dmick@xxxxxxxxxx>> wrote:

    On 6/20/2020 10:14 AM, Abhinav Singh wrote:
     > Hello everyone,
     > To understand the flow of rgw I used the ceph cluster by this "RGW=1
     > ../src/vstart.sh -d -n -x"
     > and then "ps ax|grep rgw" command will give me the pid of rgw
    server,
     > and then I used to do "gdb -p ${pid}" obtained from above.
     > Now I want to understand RBD work flow but when I do "ps ax|grep
    rbd"
     > then it is not showing any process related to "rbd" , I even
    tried it
     > with "RBD=1 ../src/vstart.sh -d -n -x"
     > but it did not work.
     >
     > Can anyone tell how to find pid process of rbd server?, or so
    that I can
     > attach gdb to it.

    rbd isn't a separate process.  It's a kernel block driver and/or a
    userland library.
    _______________________________________________
    Dev mailing list -- dev@xxxxxxx <mailto:dev@xxxxxxx>
    To unsubscribe send an email to dev-leave@xxxxxxx
    <mailto:dev-leave@xxxxxxx>

_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx




[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux