aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/export-to-sqlite-report
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2018-11-27 11:06:35 -0500
committerVinod Koul <vkoul@kernel.org>2018-11-29 09:19:41 -0500
commit77e75fda94d2ebb86aa9d35fb1860f6395bf95de (patch)
tree156e1330cf21567a8951fc23417f7656ded15429 /tools/perf/scripts/python/bin/export-to-sqlite-report
parent98f5f932254b88ce828bc8e4d1642d14e5854caa (diff)
dmaengine: at_hdmac: fix module unloading
of_dma_controller_free() was not called on module onloading. This lead to a soft lockup: watchdog: BUG: soft lockup - CPU#0 stuck for 23s! Modules linked in: at_hdmac [last unloaded: at_hdmac] when of_dma_request_slave_channel() tried to call ofdma->of_dma_xlate(). Cc: stable@vger.kernel.org Fixes: bbe89c8e3d59 ("at_hdmac: move to generic DMA binding") Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions
'>27af4245b6ce
1da177e4c3f4














becf8b5d00f4
1da177e4c3f4
becf8b5d00f4
1da177e4c3f4
becf8b5d00f4





1da177e4c3f4
c9cb2e3d7c91
1da177e4c3f4























a924b04ddea9
1da177e4c3f4






becf8b5d00f4



1da177e4c3f4
becf8b5d00f4
1da177e4c3f4


a924b04ddea9

1da177e4c3f4



858119e15938
1da177e4c3f4
7978672c4d9a
1da177e4c3f4


3d44cc3e01ee




1da177e4c3f4
becf8b5d00f4
1da177e4c3f4
a924b04ddea9
1da177e4c3f4






1da177e4c3f4

1da177e4c3f4


becf8b5d00f4







1da177e4c3f4

2d42244ae71d








1da177e4c3f4



becf8b5d00f4

1da177e4c3f4
becf8b5d00f4



1da177e4c3f4
2d42244ae71d



3d44cc3e01ee
2d42244ae71d
1da177e4c3f4


2d42244ae71d
1da177e4c3f4

040b5c6f9503

1da177e4c3f4





1da177e4c3f4

44f21475511b

becf8b5d00f4
1da177e4c3f4

4d672e7ac79b


44f21475511b
1da177e4c3f4


44f21475511b
1da177e4c3f4



















becf8b5d00f4




1da177e4c3f4
54da1174922c
becf8b5d00f4

b6557fbca805

1da177e4c3f4

ba661292a2bc
1da177e4c3f4
27af4245b6ce

ba661292a2bc










1da177e4c3f4
1da177e4c3f4
27af4245b6ce






4aa7361179be

1da177e4c3f4









c9cb2e3d7c91
1da177e4c3f4
05cfb614ddbf
1da177e4c3f4
becf8b5d00f4
c9cb2e3d7c91
1da177e4c3f4
05cfb614ddbf
1da177e4c3f4
1da177e4c3f4
becf8b5d00f4

1da177e4c3f4
becf8b5d00f4






58229a189942































4d672e7ac79b
58229a189942
becf8b5d00f4

a0a0c28c1a71
1da177e4c3f4
1da177e4c3f4
1da177e4c3f4
becf8b5d00f4


1da177e4c3f4
27af4245b6ce
1da177e4c3f4



8dc86af00612
bac0abd6174e
1da177e4c3f4






27af4245b6ce
1da177e4c3f4

a924b04ddea9
1da177e4c3f4













c376222960ae
1da177e4c3f4

1da177e4c3f4

aa94fbd5ccd8
1da177e4c3f4
ba661292a2bc
1da177e4c3f4












899921025b40
1da177e4c3f4
1da177e4c3f4





a924b04ddea9
1da177e4c3f4


2cd499e38ec2
ef864c958801
1da177e4c3f4
















5a51b713ccf8
1da177e4c3f4
ef864c958801


1da177e4c3f4
0b0a3e7b18b8
1da177e4c3f4



























36b2f046000b
899921025b40
36b2f046000b
899921025b40
1da177e4c3f4



5a9fa7307285


899921025b40
1da177e4c3f4

5a9fa7307285


717835d94d3e
5a9fa7307285
717835d94d3e
36b2f046000b
27af4245b6ce
36b2f046000b

ef864c958801

1da177e4c3f4





1da177e4c3f4
ef864c958801
1da177e4c3f4



1da177e4c3f4





31d9284569e3
1da177e4c3f4






1da177e4c3f4
31d9284569e3
1da177e4c3f4

899921025b40
179394af7a2b
31d9284569e3




1da177e4c3f4
31d9284569e3
1da177e4c3f4




















3b98a5328171
becf8b5d00f4
1da177e4c3f4
becf8b5d00f4
becf8b5d00f4
3b98a5328171

becf8b5d00f4
3b98a5328171



becf8b5d00f4
3b98a5328171


becf8b5d00f4
3b98a5328171


becf8b5d00f4
3b98a5328171

4d672e7ac79b
3b98a5328171
cc584b213f25
becf8b5d00f4
3b98a5328171







becf8b5d00f4
1da177e4c3f4






















becf8b5d00f4
1da177e4c3f4








1da177e4c3f4




5ba253313d01
1da177e4c3f4









1da177e4c3f4


858119e15938
1da177e4c3f4


becf8b5d00f4
7978672c4d9a
1da177e4c3f4




becf8b5d00f4
1da177e4c3f4



becf8b5d00f4
1da177e4c3f4
1da177e4c3f4



1da177e4c3f4
becf8b5d00f4


1da177e4c3f4
c9cb2e3d7c91
7978672c4d9a
7978672c4d9a
becf8b5d00f4
cc584b213f25
becf8b5d00f4




952bbc87f01f

5a7780e725d1
cc584b213f25
5a7780e725d1
becf8b5d00f4
952bbc87f01f
becf8b5d00f4
cc584b213f25
1da177e4c3f4











5ba253313d01
1da177e4c3f4







becf8b5d00f4

1da177e4c3f4














becf8b5d00f4

1da177e4c3f4






becf8b5d00f4
f972be33ce6a
becf8b5d00f4
1da177e4c3f4
1da177e4c3f4












5ba253313d01
1da177e4c3f4
1da177e4c3f4
1da177e4c3f4



becf8b5d00f4
1da177e4c3f4


becf8b5d00f4
1da177e4c3f4






899921025b40
4b7a1304267b
1da177e4c3f4



becf8b5d00f4
1da177e4c3f4


858119e15938
1da177e4c3f4


1da177e4c3f4
1da177e4c3f4

becf8b5d00f4
1da177e4c3f4


1da177e4c3f4




899921025b40
4b7a1304267b
1da177e4c3f4




25f407f0b668
1da177e4c3f4











becf8b5d00f4
a924b04ddea9
1da177e4c3f4




a924b04ddea9
97735f25d2ba
1da177e4c3f4








a924b04ddea9

1da177e4c3f4











a924b04ddea9
1da177e4c3f4















a924b04ddea9
1da177e4c3f4
















1da177e4c3f4
97735f25d2ba




080344b98805


97735f25d2ba
1da177e4c3f4

a924b04ddea9
1da177e4c3f4



1da177e4c3f4






5f82b2b77e66
1da177e4c3f4

97735f25d2ba

1da177e4c3f4
1711ef3866b0




















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
  
                              






























                                                                             


                            
                        

                        









                               




















                                                                           
                                             



                                  










































                                                                         
                                                                     














                                                                         
 
  
                                
   





                                                                        
 
                                                                 























                                                                           
                                                                  






                                                          



                                                                       
 
                              


                 

                                                               



                                             
                                                          
 
                                                                        


                 




                                                      
  
                                                                    
   
                                                              






                                                                          

                                               


                 







                                                                         

  








                                                                              



                                                                         

                                                
          



                                                      
          



                                                      
                                                
          


                                                                
                                                                        

                                                                    

                                                                                





                                   

                                                      

                                                     
                                             

                       


                                                                        
 


                                                 
                               



















                                                                        




                                                                       
 
                                                          

         

                                          

 
                                                            
 

                                 










                                                            
                                                     
 






                                                                    

                                                              









                                                                        
                                                                 
 
                              
                            
                           
                                                     
 
                                                                   
                                                 
 

                                                        
 






                                                                































                                                                             
                                                          
                                                           

                                                                        
                                                   
                 
         
 


                                  
 
                                                    



                                                        
                                                                             
                                                    






                                                                           
                             

 
                                                                              













                                                                       
                                                                

                           

                                                         
                            
         
                                                       












                                                                    
                             
                                 





                                                 
                                             


                                                          
                                   
                                
















                                                                   
                                                                        
                                   


                                     
                  
                                                                    



























                                                                               
                                
                                                                   
                                  
                                         



                                        


                                                               
                                                                

         


                                                            
                                                          
                                                  
 
                                                  
                                               

                                                                   

                 





                                                                     
    
                                                  



                     





                                                                        
                                                                          






                                                                         
                                             
                                                         

                                          
                                                         
                                               




                                                  
 
                    




















                                                                        
                                   
                                                     
 
                                                          
 

                                    
                              



                                                                          
                       


                                      
          


                                                              
           

                                                                      
                                                                                   
 
                                                               
                                                                      







                                                                             
                                                                     






















                                                                        
 








                                                                        




                                      
                            









                                            


                                    
          


                                                                                
                                                     
                               




                                                    
                                        



                                                                             
                                             
                                   



                                                                    
 


                                                                            
 
                                                                           
                                                                 
                                                      
 
                                                                             




                                                                             

                                                                         
                                               
                                                                            
                 
                         
         
 
                                           











                                                              
                           







                                                                      

                                                     














                                                                 

                                                                    






                                                          
                                         
 
                                                             
                                   












                                                                   
                            
 
             



                                             
                                                      


                                           
 






                                                                      
                                
 



                                              
 


                                                          
                                                 


                            
             

                                                  
                                                      


                                           




                                                                      
                                
 




                                              
                                                                      











                                                                                
                                           
                                                                          




                                            
                                                                
                                                                             








                                                                       

                                                                   











                                                                              
                                                                          















                                                                       
                                                                         
















                                                                         
  




                                                                              


                                                                     
 

               
                                                           



                                                       






                                                               
                                

                               

                                                              
 




















                                                                     
/*
 * linux/kernel/posix-timers.c
 *
 *
 * 2002-10-15  Posix Clocks & timers
 *                           by George Anzinger george@mvista.com
 *
 *			     Copyright (C) 2002 2003 by MontaVista Software.
 *
 * 2004-06-01  Fix CLOCK_REALTIME clock/timer TIMER_ABSTIME bug.
 *			     Copyright (C) 2004 Boris Hu
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or (at
 * your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 * MontaVista Software | 1237 East Arques Avenue | Sunnyvale | CA 94085 | USA
 */

/* These are all the functions necessary to implement
 * POSIX clocks & timers
 */
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/mutex.h>

#include <asm/uaccess.h>
#include <linux/list.h>
#include <linux/init.h>
#include <linux/compiler.h>
#include <linux/idr.h>
#include <linux/posix-timers.h>
#include <linux/syscalls.h>
#include <linux/wait.h>
#include <linux/workqueue.h>
#include <linux/module.h>

/*
 * Management arrays for POSIX timers.	 Timers are kept in slab memory
 * Timer ids are allocated by an external routine that keeps track of the
 * id and the timer.  The external interface is:
 *
 * void *idr_find(struct idr *idp, int id);           to find timer_id <id>
 * int idr_get_new(struct idr *idp, void *ptr);       to get a new id and
 *                                                    related it to <ptr>
 * void idr_remove(struct idr *idp, int id);          to release <id>
 * void idr_init(struct idr *idp);                    to initialize <idp>
 *                                                    which we supply.
 * The idr_get_new *may* call slab for more memory so it must not be
 * called under a spin lock.  Likewise idr_remore may release memory
 * (but it may be ok to do this under a lock...).
 * idr_find is just a memory look up and is quite fast.  A -1 return
 * indicates that the requested id does not exist.
 */

/*
 * Lets keep our timers in a slab cache :-)
 */
static struct kmem_cache *posix_timers_cache;
static struct idr posix_timers_id;
static DEFINE_SPINLOCK(idr_lock);

/*
 * we assume that the new SIGEV_THREAD_ID shares no bits with the other
 * SIGEV values.  Here we put out an error if this assumption fails.
 */
#if SIGEV_THREAD_ID != (SIGEV_THREAD_ID & \
                       ~(SIGEV_SIGNAL | SIGEV_NONE | SIGEV_THREAD))
#error "SIGEV_THREAD_ID must not share bit with other SIGEV values!"
#endif


/*
 * The timer ID is turned into a timer address by idr_find().
 * Verifying a valid ID consists of:
 *
 * a) checking that idr_find() returns other than -1.
 * b) checking that the timer id matches the one in the timer itself.
 * c) that the timer owner is in the callers thread group.
 */

/*
 * CLOCKs: The POSIX standard calls for a couple of clocks and allows us
 *	    to implement others.  This structure defines the various
 *	    clocks and allows the possibility of adding others.	 We
 *	    provide an interface to add clocks to the table and expect
 *	    the "arch" code to add at least one clock that is high
 *	    resolution.	 Here we define the standard CLOCK_REALTIME as a
 *	    1/HZ resolution clock.
 *
 * RESOLUTION: Clock resolution is used to round up timer and interval
 *	    times, NOT to report clock times, which are reported with as
 *	    much resolution as the system can muster.  In some cases this
 *	    resolution may depend on the underlying clock hardware and
 *	    may not be quantifiable until run time, and only then is the
 *	    necessary code is written.	The standard says we should say
 *	    something about this issue in the documentation...
 *
 * FUNCTIONS: The CLOCKs structure defines possible functions to handle
 *	    various clock functions.  For clocks that use the standard
 *	    system timer code these entries should be NULL.  This will
 *	    allow dispatch without the overhead of indirect function
 *	    calls.  CLOCKS that depend on other sources (e.g. WWV or GPS)
 *	    must supply functions here, even if the function just returns
 *	    ENOSYS.  The standard POSIX timer management code assumes the
 *	    following: 1.) The k_itimer struct (sched.h) is used for the
 *	    timer.  2.) The list, it_lock, it_clock, it_id and it_pid
 *	    fields are not modified by timer code.
 *
 *          At this time all functions EXCEPT clock_nanosleep can be
 *          redirected by the CLOCKS structure.  Clock_nanosleep is in
 *          there, but the code ignores it.
 *
 * Permissions: It is assumed that the clock_settime() function defined
 *	    for each clock will take care of permission checks.	 Some
 *	    clocks may be set able by any user (i.e. local process
 *	    clocks) others not.	 Currently the only set able clock we
 *	    have is CLOCK_REALTIME and its high res counter part, both of
 *	    which we beg off on and pass to do_sys_settimeofday().
 */

static struct k_clock posix_clocks[MAX_CLOCKS];