This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/10524] oversize DATA for uprobe-intensive scripts


------- Additional Comments From wenji dot huang at oracle dot com  2009-08-28 10:32 -------
Need to do a bit change on data structure

1. Remove task_finder_target from stap_uprobe_spec
2. Add new structure like
struct uprobe_task_finder {
     unsigned spec_index[probes.size()]
     stap_task_finder_target finder
} uprobe_task_finders[]
3. iterate uprobe_task_finders[] to do register_task_finder
4. In stap_uprobe_process_found/stap_uprobe_mmap_found, 
     p_uprobe = container_of(tgt, struct uprobe_task_finder, finder)
   next iterate p_uprobe->[spec_index] to get every stap_uprobe_spec
   then stap_uprobe_change

Any comment?   

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10524

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]