<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3812</bug_id>
          
          <creation_ts>2013-01-30 16:00:20 +0000</creation_ts>
          <short_desc>Bitbake event handlers recieve all events</short_desc>
          <delta_ts>2013-09-11 11:41:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.5 M4</target_milestone>
          
          <blocked>4142</blocked>
    
    <blocked>4717</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Cristiana Voicu">cristiana.voicu</assigned_to>
          <cc>bogdan.a.marinescu</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>29350</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-01-30 16:00:20 +0000</bug_when>
    <thetext>It would be better if events could select which events they would recieve with some kind of event mask. This could snigificnatly improve performance since currently we execute all event hanlders for all events.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33455</commentid>
    <comment_count>1</comment_count>
    <who name="Bogdan Marinescu">bogdan.a.marinescu</who>
    <bug_when>2013-05-31 14:35:08 +0000</bug_when>
    <thetext>A part of the fix for this issue was sent for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33975</commentid>
    <comment_count>2</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2013-06-19 10:09:40 +0000</bug_when>
    <thetext>Update: the patch which implements filtering only for class event handlers have been merged; commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5aa5fc470ef20a3eda761d7dd8899732cb799ca4

ToDo: events filter for UIs, if needed (this needs to be analyzed)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35817</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-08-21 15:36:58 +0000</bug_when>
    <thetext>Cristiana: Are you working on this or not? 

I think we&apos;re going to need this to make BBSERVER=xxx bitbake yyy usable since its currently slow, likely due to all the debug messages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35847</commentid>
    <comment_count>4</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2013-08-22 07:52:37 +0000</bug_when>
    <thetext>I have an implementation. It can be found at http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=cvoicu/fitleringeventsUi

It is almost done (if I am in the right direction), but I have an issue regarding some process; set_UIHmask is called in a process, and fire_ui_handlers in another. That&apos;s why _ui_handlers_map  is not populated yest in the second process. In the implementation I harcoded it in order to build an image. 
Can you please advice?
Thanks,
Cristiana</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35914</commentid>
    <comment_count>5</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2013-08-26 11:10:14 +0000</bug_when>
    <thetext>patches merged to master
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=25e410b743be45f7ed57457c1d3cd2066652085b
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=69aab78dd830b0ad570cf9b7bfe2da8e8b793e23</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36533</commentid>
    <comment_count>6</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-09-11 11:41:38 +0000</bug_when>
    <thetext>Verified in master:0ca5d1fb38157564a2b9452ade32391d18a41b09
using test case: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=806</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>