Re: Dump a vector from BlueStore

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

 



Hi Yiming,

you can implement custom admin command via AdminSocketHook API and do whatever you want in the corresponding handler.

See class BlueFS::SocketHook in BlueFS.cc as an example.


Thanks,

Igor


On 2/17/2020 10:50 AM, Yiming Zhang wrote:
Hi Cephers,

Is there an easy way to dump a BlueStore internal variable, to be specific, a vector (the vector contains some debugging data), from linux command line?
The closed thing I can think of is to modify the perf_counters to do that. I’m wondering is there any easy way to do that?
I also tried to add the dump function in the BlueStore destructor, but the destructor is always called when the vstart is
invoked, and stop.sh script doesn’t call the destructor.

Please advice.

Thanks,
Yiming
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to 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