perf stat: Move the display functions to stat-display.c
Move perf_evlist__print_counters() with all its dependency functions to the stat-display.c object. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20180830063252.23729-44-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
		
							parent
							
								
									d0192fdba0
								
							
						
					
					
						commit
						088519f318
					
				
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -73,6 +73,7 @@ libperf-y += vdso.o | ||||
| libperf-y += counts.o | ||||
| libperf-y += stat.o | ||||
| libperf-y += stat-shadow.o | ||||
| libperf-y += stat-display.o | ||||
| libperf-y += record.o | ||||
| libperf-y += srcline.o | ||||
| libperf-y += data.o | ||||
|  | ||||
							
								
								
									
										1166
									
								
								tools/perf/util/stat-display.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1166
									
								
								tools/perf/util/stat-display.c
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -215,4 +215,10 @@ int perf_stat_synthesize_config(struct perf_stat_config *config, | ||||
| 				struct perf_evlist *evlist, | ||||
| 				perf_event__handler_t process, | ||||
| 				bool attrs); | ||||
| void | ||||
| perf_evlist__print_counters(struct perf_evlist *evlist, | ||||
| 			    struct perf_stat_config *config, | ||||
| 			    struct target *_target, | ||||
| 			    struct timespec *ts, | ||||
| 			    int argc, const char **argv); | ||||
| #endif | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user