perf/ftrace: Optimize perf/tracepoint interaction for single events
When we've got but a single event per tracepoint there is no reason to try and multiplex it so don't. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Tested-by: Ingo Molnar <mingo@elte.hu> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
		
					parent
					
						
							
								ef4f30f54e
							
						
					
				
			
			
				commit
				
					
						4f41c013f5
					
				
			
		
					 7 changed files with 31 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -994,7 +994,7 @@ static inline bool perf_paranoid_kernel(void)
 | 
			
		|||
 | 
			
		||||
extern void perf_event_init(void);
 | 
			
		||||
extern void perf_tp_event(int event_id, u64 addr, u64 count, void *record,
 | 
			
		||||
			  int entry_size, struct pt_regs *regs);
 | 
			
		||||
			  int entry_size, struct pt_regs *regs, void *event);
 | 
			
		||||
extern void perf_bp_event(struct perf_event *event, void *data);
 | 
			
		||||
 | 
			
		||||
#ifndef perf_misc_flags
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue