File tree Expand file tree Collapse file tree 3 files changed +537
-0
lines changed Expand file tree Collapse file tree 3 files changed +537
-0
lines changed Original file line number Diff line number Diff line change @@ -774,6 +774,19 @@ config PREEMPTIRQ_DELAY_TEST
774774
775775	  If unsure, say N
776776
777+ config SYNTH_EVENT_GEN_TEST
778+ 	tristate "Test module for in-kernel synthetic event generation"
779+ 	depends on HIST_TRIGGERS
780+ 	help
781+           This option creates a test module to check the base
782+           functionality of in-kernel synthetic event definition and
783+           generation.
784+ 
785+           To test, insert the module, and then check the trace buffer
786+ 	  for the generated sample events.
787+ 
788+ 	  If unsure, say N.
789+ 
777790config TRACE_EVAL_MAP_FILE
778791       bool "Show eval mappings for trace events"
779792       depends on TRACING
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ obj-$(CONFIG_TRACING) += trace_stat.o
4444obj-$(CONFIG_TRACING)  += trace_printk.o
4545obj-$(CONFIG_TRACING_MAP)  += tracing_map.o
4646obj-$(CONFIG_PREEMPTIRQ_DELAY_TEST)  += preemptirq_delay_test.o
47+ obj-$(CONFIG_SYNTH_EVENT_GEN_TEST)  += synth_event_gen_test.o
4748obj-$(CONFIG_CONTEXT_SWITCH_TRACER)  += trace_sched_switch.o
4849obj-$(CONFIG_FUNCTION_TRACER)  += trace_functions.o
4950obj-$(CONFIG_PREEMPTIRQ_TRACEPOINTS)  += trace_preemptirq.o
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments