update for v2.6.17
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 19 Jun 2006 15:04:08 +0000 (15:04 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 19 Jun 2006 15:04:08 +0000 (15:04 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1934 04897980-b3bd-0310-b5e0-8ef037075253

genevent/genevent.c
ltt-control/facilities/kernel_arch_c2.xml
ltt-control/facilities/kernel_arch_i386.xml
ltt-control/facilities/kernel_arch_mips.xml
ltt-control/facilities/kernel_arch_powerpc.xml
ltt-control/facilities/kernel_arch_ppc.xml
ltt-usertrace/ltt/ltt-usertrace.h

index c788d85a92bc8e9298c59f1be82597d05f7a3b71..faf362e5543426dd05d4124f073e9c89435cf6de 100644 (file)
@@ -1508,7 +1508,7 @@ int print_event_logging_function(char *basename, facility_t *fac,
        print_tabs(1, fd);
        fprintf(fd, "preempt_disable();\n");
        print_tabs(1, fd);
-       fprintf(fd, "ltt_nesting[smp_processor_id()]++;\n");
+       fprintf(fd, "current->ltt_nesting++;\n");
 
        /* Get facility index */
 
@@ -1632,7 +1632,7 @@ int print_event_logging_function(char *basename, facility_t *fac,
 
        /* Release locks */
        print_tabs(1, fd);
-       fprintf(fd, "ltt_nesting[smp_processor_id()]--;\n");
+       fprintf(fd, "current->ltt_nesting--;\n");
        print_tabs(1, fd);
        fprintf(fd, "preempt_enable_no_resched();\n");
 
index 11197a1791ee39d93a0faf91320adbfc0df04dea..7aef352b8b3f0c345dbea76d5d1687815c5fac65 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <facility name="kernel_arch" arch="c2">
   <description>The kernel facility has events related to kernel execution status
-       for the C2 architecture.</description>
+       for the MIPS architecture.</description>
   <type name=syscall_name>
     <enum>
                        <label name="o32_base" value="3999"><description>Linux o32 style syscalls</description>
                        <label name="o32_inotify_init" value="4284">
                        <label name="o32_inotify_add_watch" value="4285">
                        <label name="o32_inotify_rm_watch" value="4286">
-       
+                       <label name="o32_migrate_pages" value="4287">
+                       <label name="o32_openat" value="4288">
+                       <label name="o32_mkdirat" value="4289">
+                       <label name="o32_mknodat" value="4290">
+                       <label name="o32_fchownat" value="4291">
+                       <label name="o32_futimesat" value="4292">
+                       <label name="o32_fstatat64" value="4293">
+                       <label name="o32_unlinkat" value="4294">
+                       <label name="o32_renameat" value="4295">
+                       <label name="o32_linkat" value="4296">
+                       <label name="o32_symlinkat" value="4297">
+                       <label name="o32_readlinkat" value="4298">
+                       <label name="o32_fchmodat" value="4299">
+                       <label name="o32_faccessat" value="4300">
+                       <label name="o32_pselect6" value="4301">
+                       <label name="o32_ppoll" value="4302">
+                       <label name="o32_unshare" value="4303">
+                       <label name="o32_set_robust_list" value="4304">
+                       <label name="o32_get_robust_list" value="4305">
+                       <label name="o32_splice" value="4306">
+                       <label name="o32_sync_file_range" value="4307">
+                       <label name="o32_tee" value="4308">
+                       <label name="o32_vmsplice" value="4309">
 
                        <label name="N32_base" value="5999">
                        <label name="N32_read" value="6000">
                        <label name="N32_inotify_init" value="6247">
                        <label name="N32_inotify_add_watch" value="6248">
                        <label name="N32_inotify_rm_watch" value="6249">
+                       <label name="N32_migrate_pages" value="6250">
+                       <label name="N32_openat" value="6251">
+                       <label name="N32_mkdirat" value="6252">
+                       <label name="N32_mknodat" value="6253">
+                       <label name="N32_fchownat" value="6254">
+                       <label name="N32_futimesat" value="6255">
+                       <label name="N32_fstatat64" value="6256">
+                       <label name="N32_unlinkat" value="6257">
+                       <label name="N32_renameat" value="6258">
+                       <label name="N32_linkat" value="6259">
+                       <label name="N32_symlinkat" value="6260">
+                       <label name="N32_readlinkat" value="6261">
+                       <label name="N32_fchmodat" value="6262">
+                       <label name="N32_faccessat" value="6263">
+                       <label name="N32_pselect6" value="6264">
+                       <label name="N32_ppoll" value="6265">
+                       <label name="N32_unshare" value="6266">
+                       <label name="N32_set_robust_list" value="6267">
+                       <label name="N32_get_robust_list" value="6268">
+                       <label name="N32_splice" value="6269">
+                       <label name="N32_sync_file_range" value="6270">
+                       <label name="N32_tee" value="6271">
+                       <label name="N32_vmsplice" value="6272">
     </enum>
   </type>
 
   <event name="syscall_entry">
     <description>System call entry</description>
-    <field name="syscall_id"> <description>Syscall entry number in entry.S</description> <typeref name="syscall_name"> </field>
+    <field name="syscall_id"> <description>Syscall entry number in
+               entry.S</description> <typeref name="syscall_name"> </field>
     <field name="address"> <description>Address from which call was made</description> <pointer> </field>
   </event>
        
index ecab076498432db53fcd1e8b9d799341cb859f8c..d022843aaf0937b4b3cf15a9bfb8ef7cdfdbce8b 100644 (file)
                        <label name="inotify_init" value="291">
                        <label name="inotify_add_watch" value="292">
                        <label name="inotify_rm_watch" value="293">
-                       <label name="ltt_trace_generic" value="294">
-                       <label name="ltt_register_generic" value="295">
+                       <label name="migrate_pages" value="294">
+                       <label name="openat" value="295">
+                       <label name="mkdirat" value="296">
+                       <label name="mknodat" value="297">
+                       <label name="fchownat" value="298">
+                       <label name="futimesat" value="299">
+                       <label name="fstatat64" value="300">
+                       <label name="unlinkat" value="301">
+                       <label name="renameat" value="302">
+                       <label name="linkat" value="303">
+                       <label name="symlinkat" value="304">
+                       <label name="readlinkat" value="305">
+                       <label name="fchmodat" value="306">
+                       <label name="faccessat" value="307">
+                       <label name="pselect6" value="308">
+                       <label name="ppoll" value="309">
+                       <label name="unshare" value="310">
+                       <label name="set_robust_list" value="311">
+                       <label name="get_robust_list" value="312">
+                       <label name="splice" value="313">
+                       <label name="sync_file_range" value="314">
+                       <label name="tee" value="315">
+                       <label name="vmsplice" value="316">
+                       <label name="ltt_trace_generic" value="317">
+                       <label name="ltt_register_generic" value="318">
     </enum>
   </type>
 
index d2dc54a29961f4e01fada1336b63784d19cc97e5..461e4a636229b265702ec5e1a61dfcd2f1868ef5 100644 (file)
                        <label name="o32_inotify_init" value="4284">
                        <label name="o32_inotify_add_watch" value="4285">
                        <label name="o32_inotify_rm_watch" value="4286">
+                       <label name="o32_migrate_pages" value="4287">
+                       <label name="o32_openat" value="4288">
+                       <label name="o32_mkdirat" value="4289">
+                       <label name="o32_mknodat" value="4290">
+                       <label name="o32_fchownat" value="4291">
+                       <label name="o32_futimesat" value="4292">
+                       <label name="o32_fstatat64" value="4293">
+                       <label name="o32_unlinkat" value="4294">
+                       <label name="o32_renameat" value="4295">
+                       <label name="o32_linkat" value="4296">
+                       <label name="o32_symlinkat" value="4297">
+                       <label name="o32_readlinkat" value="4298">
+                       <label name="o32_fchmodat" value="4299">
+                       <label name="o32_faccessat" value="4300">
+                       <label name="o32_pselect6" value="4301">
+                       <label name="o32_ppoll" value="4302">
+                       <label name="o32_unshare" value="4303">
+                       <label name="o32_set_robust_list" value="4304">
+                       <label name="o32_get_robust_list" value="4305">
+                       <label name="o32_splice" value="4306">
+                       <label name="o32_sync_file_range" value="4307">
+                       <label name="o32_tee" value="4308">
+                       <label name="o32_vmsplice" value="4309">
 
                        <label name="l64_base" value="4999">
                        <label name="l64_read" value="5000">
                        <label name="l64_inotify_init" value="5243">
                        <label name="l64_inotify_add_watch" value="5244">
                        <label name="l64_inotify_rm_watch" value="5245">
+                       <label name="l64_migrate_pages" value="5246">
+                       <label name="l64_openat" value="5247">
+                       <label name="l64_mkdirat" value="5248">
+                       <label name="l64_mknodat" value="5249">
+                       <label name="l64_fchownat" value="5250">
+                       <label name="l64_futimesat" value="5251">
+                       <label name="l64_fstatat64" value="5252">
+                       <label name="l64_unlinkat" value="5253">
+                       <label name="l64_renameat" value="5254">
+                       <label name="l64_linkat" value="5255">
+                       <label name="l64_symlinkat" value="5256">
+                       <label name="l64_readlinkat" value="5257">
+                       <label name="l64_fchmodat" value="5258">
+                       <label name="l64_faccessat" value="5259">
+                       <label name="l64_pselect6" value="5260">
+                       <label name="l64_ppoll" value="5261">
+                       <label name="l64_unshare" value="5262">
+                       <label name="l64_set_robust_list" value="5263">
+                       <label name="l64_get_robust_list" value="5264">
+                       <label name="l64_splice" value="5265">
+                       <label name="l64_sync_file_range" value="5266">
+                       <label name="l64_tee" value="5267">
+                       <label name="l64_vmsplice" value="5268">
 
                        <label name="N32_base" value="5999">
                        <label name="N32_read" value="6000">
                        <label name="N32_inotify_init" value="6247">
                        <label name="N32_inotify_add_watch" value="6248">
                        <label name="N32_inotify_rm_watch" value="6249">
+                       <label name="N32_migrate_pages" value="6250">
+                       <label name="N32_openat" value="6251">
+                       <label name="N32_mkdirat" value="6252">
+                       <label name="N32_mknodat" value="6253">
+                       <label name="N32_fchownat" value="6254">
+                       <label name="N32_futimesat" value="6255">
+                       <label name="N32_fstatat64" value="6256">
+                       <label name="N32_unlinkat" value="6257">
+                       <label name="N32_renameat" value="6258">
+                       <label name="N32_linkat" value="6259">
+                       <label name="N32_symlinkat" value="6260">
+                       <label name="N32_readlinkat" value="6261">
+                       <label name="N32_fchmodat" value="6262">
+                       <label name="N32_faccessat" value="6263">
+                       <label name="N32_pselect6" value="6264">
+                       <label name="N32_ppoll" value="6265">
+                       <label name="N32_unshare" value="6266">
+                       <label name="N32_set_robust_list" value="6267">
+                       <label name="N32_get_robust_list" value="6268">
+                       <label name="N32_splice" value="6269">
+                       <label name="N32_sync_file_range" value="6270">
+                       <label name="N32_tee" value="6271">
+                       <label name="N32_vmsplice" value="6272">
     </enum>
   </type>
 
index e6d9b7bd2029e63e937ef7f2cf210f4ccd6c3bf2..e9fa0579cb80fecad143877b246b494881c4a76e 100644 (file)
                        <label name="pselect6" value="280">
                        <label name="ppoll" value="281">
                        <label name="unshare" value="282">
-                       <label name="ltt_trace_generic" value="283">
-                       <label name="ltt_register_generic" value="284">
+                       <label name="splice" value="283">
+                       <label name="tee" value="284">
+                       <label name="vmsplice" value="285">
+                       <label name="openat" value="286">
+                       <label name="mkdirat" value="287">
+                       <label name="mknodat" value="288">
+                       <label name="fchownat" value="289">
+                       <label name="futimesat" value="290">
+                       <label name="fstatat64" value="291">
+                       <label name="unlinkat" value="292">
+                       <label name="renameat" value="293">
+                       <label name="linkat" value="294">
+                       <label name="symlinkat" value="295">
+                       <label name="readlinkat" value="296">
+                       <label name="fchmodat" value="297">
+                       <label name="faccessat" value="298">
+                       <label name="get_robust_list" value="299">
+                       <label name="set_robust_list" value="300">
+                       <label name="ltt_trace_generic" value="301">
+                       <label name="ltt_register_generic" value="302">
     </enum>
   </type>
 
index 8fb6ebab02ba2a0644a778579cef39c1ad0c5e64..909eaef15f11596aa4ce3e53fb7d0061dbae0448 100644 (file)
                        <label name="pselect6" value="280">
                        <label name="ppoll" value="281">
                        <label name="unshare" value="282">
-                       <label name="ltt_trace_generic" value="283">
-                       <label name="ltt_register_generic" value="284">
+                       <label name="splice" value="283">
+                       <label name="tee" value="284">
+                       <label name="vmsplice" value="285">
+                       <label name="openat" value="286">
+                       <label name="mkdirat" value="287">
+                       <label name="mknodat" value="288">
+                       <label name="fchownat" value="289">
+                       <label name="futimesat" value="290">
+                       <label name="fstatat64" value="291">
+                       <label name="unlinkat" value="292">
+                       <label name="renameat" value="293">
+                       <label name="linkat" value="294">
+                       <label name="symlinkat" value="295">
+                       <label name="readlinkat" value="296">
+                       <label name="fchmodat" value="297">
+                       <label name="faccessat" value="298">
+                       <label name="get_robust_list" value="299">
+                       <label name="set_robust_list" value="300">
+                       <label name="ltt_trace_generic" value="301">
+                       <label name="ltt_register_generic" value="302">
     </enum>
   </type>
 
index be3a73d643143520cac77eff33edcdaa59cb1373..373315ab0d052c577eac08f4e347e924a25b8811 100644 (file)
 #endif
 
 #ifdef i386
-#define __NR_ltt_trace_generic 311
-#define __NR_ltt_register_generic      312
+#define __NR_ltt_trace_generic 317
+#define __NR_ltt_register_generic      318
 #undef NR_syscalls
-#define NR_syscalls 313
+#define NR_syscalls 319
 #endif
 
 #ifdef __powerpc__
-#define __NR_ltt_trace_generic 283
-#define __NR_ltt_register_generic      284
+#define __NR_ltt_trace_generic 301
+#define __NR_ltt_register_generic      302
 #undef NR_syscalls
-#define NR_syscalls 285
+#define NR_syscalls 303
 #endif
 
 #ifdef __powerpc64__
-#define __NR_ltt_trace_generic 283
-#define __NR_ltt_register_generic      284
+#define __NR_ltt_trace_generic 301
+#define __NR_ltt_register_generic      302
 #undef NR_syscalls
-#define NR_syscalls 285
+#define NR_syscalls 303
 #endif
 
 
This page took 0.039522 seconds and 4 git commands to generate.