mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:42:43 +00:00 
			
		
		
		
	 64dfb3a28f
			
		
	
	
		64dfb3a28f
		
	
	
	
	
		
			
			Differentiate GUI applications in man pages with icons. This is the revert of the revert commit, now that the icon processing was fixed in89c0f84a28. Revert:dae298e9dfOriginal:74238d0abaCo-authored-by: electrikmilk <brandonjordan124@gmail.com>
		
			
				
	
	
		
			53 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Name
 | |
| 
 | |
|  Profiler - Serenity process profiler
 | |
| 
 | |
| [Open](file:///bin/Profiler)
 | |
| 
 | |
| ## Synopsis
 | |
| 
 | |
| ```**sh
 | |
| $ Profiler [--pid PID] [perfcore-file]
 | |
| ```
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| Profiler facilitates process performance profiling and provides a GUI offering
 | |
| visual graph and tree representations to easily navigate generated profiling
 | |
| information.
 | |
| 
 | |
| If no arguments are provided, a window containing a list of running processes
 | |
| is presented, allowing a process to be selected for profiling.
 | |
| 
 | |
| Profiling information is written to `perfcore.<pid>` in the working directory
 | |
| and opened immediately for browsing following termination of profiling.
 | |
| 
 | |
| Profiler can also load performance information from previously created
 | |
| `perfcore` files.
 | |
| 
 | |
| ## Options
 | |
| 
 | |
| * `-p PID`, `--pid PID`: PID to profile
 | |
| 
 | |
| ## Arguments
 | |
| 
 | |
| * `perfcore-file`: Path of perfcore file to load
 | |
| 
 | |
| ## Examples
 | |
| 
 | |
| Profile running Shell process:
 | |
| 
 | |
| ```sh
 | |
| $ Profiler -p $(pidof Shell)
 | |
| ```
 | |
| 
 | |
| Open a previously created perfcore file for browsing:
 | |
| 
 | |
| ```sh
 | |
| $ Profiler perfcore.123
 | |
| ```
 | |
| 
 | |
| ## See also
 | |
| 
 | |
| * [`perfcore`(5)](help://man/5/perfcore)
 | |
| 
 |