aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2019-03-29 20:47:38 -0400
committerThomas Gleixner <tglx@linutronix.de>2019-04-19 11:49:47 -0400
commit81423c37415fe45057d64196ae0ce8e17a9c7148 (patch)
tree2116ac1b83b7cc904a294bfa1ae9cb4c6287e51f /tools/perf/scripts/python/event_analyzing_sample.py
parent0f0b7e1cc7abf8e1a8b301f2868379d611d05ae2 (diff)
x86/timer: Don't inline __const_udelay()
LTO will happily inline __const_udelay() everywhere it is used. Forcing it noinline saves ~44k text in a LTO build. 13999560 1740864 1499136 17239560 1070e08 vmlinux-with-udelay-inline 13954764 1736768 1499136 17190668 1064f0c vmlinux-wo-udelay-inline Even without LTO this function should never be inlined. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20190330004743.29541-4-andi@firstfloor.org
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
exofs/super.c
blob: b795c567b5e1df6e89a6531fabb1a493b9e541b4 (plain) (tree)
1
2
3
4
5

                           
                                      
                           
                                     































                                                                             
                         
                           
                       


                  

                                           







                                                                               
                        







                                     
                                            






                                                                              
                                 





























                                                                             







                                                                       























































                                                                               


                                                                      


                                                            




                                                    
                                                  






























                                                                       




                                                                      



                                                                               
                   
                                                                               








































                                                                                









                                                        
                                 

                
                                                             
                            
                                                                      


                           


                                             
                            

























                                                                             
                              


                   
                                                         
 
                              








                                                    
                                 

                
                                                             
                            
                                                                      






                                                             
 




                                              
                             
                            

                                                               




                   





                                                                               


                                  
                                                          


                                  
                                 
                                 
                                 
                          
 



                                                  
                            
 






                                                                               
 
                                                              
 
                                                        
                          

                         
                                                                   
                                     
                                                    
                                                        

                                                 
                                         
 

                              
 
                             
                          
                                                               
 
    
                                                                           
                              
                    


                   








                                                                      
                                                     
 




                                                               

                         
                                                            


                                              
                           


                   












                                                                           



                                                                                





                                                                           
                                                                          
                                                         
 
                                
                               
                            


                             


                                                                                
                
 
                                 
                                                                            
                                 
                                                                            
                                 
                                                                            


                                                                               

                                                                               
                                                       
 







                                                                       
                                            
                   

 
                                                     















                                                                       




                                                                

                                                                          



















                                                                        
                                                                         













                                                                            
                                                                        










                                               

                                                                 

                                                            
                             
                                      
                              











                                                                          
                            






                                                                   















                                                           









                                                                       
 





                                                                        













                                                                          


                                                               




                                                                              
                                                 
                                          
                                       
                                                           



                                              
                                 





                                                                          
                                    
                                  



                                                                         
                                                                         






                                                                          
                                                   








                                                                           
                                        


                                                                                            
         


                   







                                                                           
                                                                           
                                                                           
                             
                             




                                                

                                                  





                                                              

                                      


                                                        
                         
                              


                              
                                                                  


                                            

                                     

                                       


                                                                      

                                             
 





                                              
                                         



                                            


                                                         
 
                                                                                
                          
                              

                                                
                                                                             









                                                                     
                                                           




                                                                         




                                                               

                                                          
                                                                        

                                      
                






                                                      
                                    

         

                              
                                      
                                                     
                              
                            
                               
                                            





                                                             
                                       
                          













                                                                     
                                                         

                                                                   

                                  


                              
                                

                                                       
                                                         
                 

         
                                                                    
                                                                    
                            
                   




                                                            
                                                                
                                                          
                                     





                                         
                                    
 

                                         
                                                                 









                                                                              
                                 







                                                                    

                
                                                             
                  
                                                           
                           

         


                                             
                            


                          
                                                    
                           
                                                                


                                              

                                                                     
                                                    







                                                                       

                                              





                                                      
                              






                                                   
                                            
                                          
                                        



                                                                               


                                                                               
                                                            



                                                    
                                        
 
                                                                     






































                                                                               








                                                                               
                                      

                                                 
                         












                                               


                                                    








                                   
                             









                                                     
/*
 * Copyright (C) 2005, 2006
 * Avishay Traeger (avishay@gmail.com)
 * Copyright (C) 2008, 2009
 * Boaz Harrosh <ooo@electrozaur.com>
 *
 * Copyrights for code taken from ext2:
 *     Copyright (C) 1992, 1993, 1994, 1995
 *     Remy Card (card@masi.ibp.fr)
 *     Laboratoire MASI - Institut Blaise Pascal
 *     Universite Pierre et Marie Curie (Paris VI)
 *     from
 *     linux/fs/minix/inode.c
 *     Copyright (C) 1991, 1992  Linus Torvalds
 *
 * This file is part of exofs.
 *
 * exofs 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.  Since it is based on ext2, and the only
 * valid version of GPL for the Linux kernel is version 2, the only valid
 * version of GPL for exofs is version 2.
 *
 * exofs 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 exofs; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

#include <linux/string.h>
#include <linux/parser.h>
#include <linux/vfs.h>
#include <linux/random.h>
#include <linux/module.h>
#include <linux/exportfs.h>
#include <linux/slab.h>

#include "exofs.h"

#define EXOFS_DBGMSG2(M...) do {} while (0)

/******************************************************************************
 * MOUNT OPTIONS
 *****************************************************************************/

/*
 * struct to hold what we get from mount options
 */
struct exofs_mountopt {
	bool is_osdname;
	const char *dev_name;
	uint64_t pid;
	int timeout;
};

/*
 * exofs-specific mount-time options.
 */
enum { Opt_name, Opt_pid, Opt_to, Opt_err };

/*
 * Our mount-time options.  These should ideally be 64-bit unsigned, but the
 * kernel's parsing functions do not currently support that.  32-bit should be
 * sufficient for most applications now.
 */
static match_table_t tokens = {
	{Opt_name, "osdname=%s"},
	{Opt_pid, "pid=%u"},
	{Opt_to, "to=%u"},
	{Opt_err, NULL}
};

/*
 * The main option parsing method.  Also makes sure that all of the mandatory
 * mount options were set.
 */
static int parse_options(char *options, struct exofs_mountopt *opts)
{