<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br><br><br><div>Sorry for forgetting attach the C file.</div><div><br></div><div>Best Regards,</div><div>Li Cheng</div><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2015-06-10 20:35:11, eshark77@163.com wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi, All,</div><div>     According to the DBus protocol, <a href="http://dbus.freedesktop.org/doc/dbus-specification.html" _src="http://dbus.freedesktop.org/doc/dbus-specification.html">http://dbus.freedesktop.org/doc/dbus-specification.html</a> </div><div>       " <span style="font-size: 18px;"><span style="font-family: Simsun; line-height: normal;"><i>An example argument path match is arg0path='/aa/bb/'. This would match messages with first arguments of '/', '/aa/', '/aa/bb/', '/aa/bb/cc/' and '/aa/bb/cc'. It would not match messages with first arguments of '/aa/b', '/aa' or even '/aa/bb'.</i></span><span style="line-height: 1.7;"><i> </i></span></span><span style="line-height: 1.7;">"       </span></div><div>  </div><div>    Then  I did a simple  test using the  attached  test-bus-kernel-bloom.c , and I found that  if  I used arg0path='/p1/p2/' , the callback function couldn't run when I sent emit signal with  '/' , '/p1/' , '/p1/p2/p3'.</div><div><br></div><div>   I traced into the codes , and modified bloom_add_prefixes() , then I can watch the signals with '/p1/p2/p3' , and '/p1/p2/' , but still cannot watch the signals with '/' or '/p1/'.</div><div><br></div><div>  Any recommendations are appreciated.   </div><div><br></div><div> Thanks!</div><div><br></div><div><br></div><div>Best Regards,</div><div>Li Cheng</div><div><br></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>