sync: add debugfs support