/freebsd/sys/gnu/gcov/ |
H A D | gcc_4_7.c | 16 * This code provides functions to handle gcc's profiling data format 66 * struct gcov_fn_info - profiling meta data per function 91 * struct gcov_info - profiling data per object file 115 * @info: profiling data set 125 * @info: profiling data set 134 * gcov_info_next - return next profiling data set 135 * @info: profiling data set 150 * gcov_info_link - link/add profiling data set to the list 151 * @info: profiling data set 161 * gcov_info_unlink - unlink/remove profiling data set from the list [all …]
|
H A D | gcov_fs.c | 16 * This code exports profiling data as debugfs files to userspace. 117 * Add new profiling data structure to list and inform event in __gcov_init() 127 * These functions may be referenced by gcc-generated profiling code but serve 128 * no function for kernel profiling. 185 * @loaded_info: array of pointers to profiling data sets for loaded object 187 * @num_loaded: number of profiling data sets for loaded object files. 188 * @unloaded_info: accumulated copy of profiling data sets for unloaded 286 * Return a profiling data set associated with the given node. This is 300 * Return a newly allocated profiling data set which contains the sum of 301 * all profiling data associated with the given node. [all …]
|
/freebsd/lib/libsys/ |
H A D | profil.2 | 36 .Nd control process profiling 47 program counter profiling of the current process. 48 If profiling is enabled, 49 then at every profiling clock tick, 53 The frequency of the profiling clock is recorded 54 in the header in the profiling output file. 64 when a profiling clock tick occurred while profiling was enabled. 85 value of 0 disables profiling. 91 profiling C run-time startup file 93 conventional name for profiling output file
|
/freebsd/share/man/man9/ |
H A D | LOCK_PROFILING.9 | 35 .Nd kernel lock profiling support 76 variables to control and monitor the profiling code: 79 Enable or disable the lock profiling code. 82 Reset the current lock profiling buffers. 84 The actual profiling statistics in plain text. 117 Disable or enable the lock profiling code for the spin locks. 118 This defaults to 0 (do profiling for the spin locks). 126 Mutex profiling support appeared in 128 Generalized lock profiling support appeared in 160 monitorable using other profiling tools, so combining profiling tools [all …]
|
/freebsd/lib/libc/gmon/ |
H A D | moncontrol.3 | 52 In typical operation, profiling begins at program startup 54 When the program exits, the profiling data are written to the file 63 selectively controls profiling within a program. 64 When the program starts, profiling begins. 76 may selectively collect profiling statistics by calling 96 Profiling begins on return from
|
/freebsd/share/doc/papers/kerntune/ |
H A D | 2.t | 33 The purpose of the \fIgprof\fP profiling tool is to 64 this profiling run. 191 Profiling the Kernel 194 collect profiling information as it operates simply by specifying the 203 Once a profiling system has been booted statistic gathering is 205 \fIKgmon\fP allows profiling to be started and stopped 206 and the internal state of the profiling buffers to be dumped. 210 The profiling data can then be processed with \fIgprof\fP\|(1) 216 the profiling data is stored in a buffer that is 1.2 223 of the system time spent in the profiling code.
|
/freebsd/sys/contrib/device-tree/Bindings/arm/ |
H A D | spe-pmu.txt | 1 * ARMv8.2 Statistical Profiling Extension (SPE) Performance Monitor Units (PMU) 3 ARMv8.2 introduces the optional Statistical Profiling Extension for collecting 9 "arm,statistical-profiling-extension-v1" 18 compatible = "arm,statistical-profiling-extension-v1";
|
/freebsd/sys/sys/ |
H A D | gmon.h | 38 * Structure prepended to gmon.out profiling data file. 45 int profrate; /* profiling clock rate */ 95 * profiling data structures without (in practice) sacrificing 152 * The profiling data structures are housed in this structure. 183 * Possible states of profiling. 192 * Sysctl definitions for extracting profiling information from the kernel. 194 #define GPROF_STATE 0 /* int: profiling enabling variable */ 198 #define GPROF_GMONPARAM 4 /* struct: profiling parameters (see above) */
|
/freebsd/sys/contrib/device-tree/Bindings/perf/ |
H A D | spe-pmu.yaml | 7 title: ARMv8.2 Statistical Profiling Extension (SPE) Performance Monitor Units (PMU) 13 ARMv8.2 introduces the optional Statistical Profiling Extension for collecting 18 const: arm,statistical-profiling-extension-v1 38 compatible = "arm,statistical-profiling-extension-v1";
|
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_allocator.h | 12 // the profiling runtime. 46 Report("XRay Profiling: Failed to create VMO of size %zu: %s\n", in allocate() 57 Report("XRay Profiling: Failed to map VMAR of size %zu: %s\n", sizeof(T), in allocate() 68 Report("XRay Profiling: Failed to allocate memory of size %zu; Error = " in allocate() 97 Report("XRay Profiling: Failed to create VMO of size %zu: %s\n", S, in allocateBuffer() 107 Report("XRay Profiling: Failed to map VMAR of size %zu: %s\n", S, in allocateBuffer() 117 Report("XRay Profiling: Failed to allocate memory of size %zu; Error = " in allocateBuffer() 186 Report("XRay Profiling: Failed to allocate memory for allocator\n"); in Alloc() 200 Report("XRay Profiling: Cannot obtain enough memory from " in Alloc()
|
H A D | xray_profiling.cpp | 11 // This is the implementation of a profiling handler. 50 // time, and gets reset when profiling is "done". 208 Report("Not flushing profiles, profiling not been finalized.\n"); in profilingFlush() 239 Report("profiling: No data to flush.\n"); in profilingFlush() 244 Report("profiling: Failed to flush to file, dropping data.\n"); in profilingFlush() 318 Report("Cannot finalize profile, the profiling is not initialized.\n"); in profilingFinalize() 360 Report("Cannot initialize already initialised profiling " in profilingLoggingInit() 477 Report("XRay Profiling init successful.\n"); in profilingLoggingInit() 500 auto RegistrationResult = __xray_log_register_mode("xray-profiling", Impl); in profilingDynamicInitializer() 503 Report("Cannot register XRay Profiling mode to 'xray-profiling'; error = " in profilingDynamicInitializer() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | GCDAProfiling.c | 9 |* This file implements the call back routines for the gcov profiling 11 |* the -insert-gcov-profiling LLVM pass. 239 fprintf(stderr, "profiling: %s: cannot create file mapping: %lu\n", in map_file() 246 fprintf(stderr, "profiling: %s: cannot map: %lu\n", filename, in map_file() 256 fprintf(stderr, "profiling: %s: cannot map: %s\n", filename, in map_file() 268 fprintf(stderr, "profiling: %s: cannot unmap mapped view: %lu\n", filename, in unmap_file() 273 fprintf(stderr, "profiling: %s: cannot close file mapping handle: %lu\n", in unmap_file() 281 fprintf(stderr, "profiling: %s: cannot munmap: %s\n", filename, in unmap_file() 295 * profiling enabled will emit to a different file. Only one file may be 325 fprintf(stderr, "profiling: %s: cannot open: %s\n", filename, in llvm_gcda_start_file() [all …]
|
/freebsd/share/doc/papers/sysperf/ |
H A D | 2.t | 131 Kernel profiling 134 collect profiling information as it operates simply by specifying the 143 Once a profiling system has been booted statistic gathering is 145 \fIKgmon\fP allows profiling to be started and stopped 146 and the internal state of the profiling buffers to be dumped. 151 The profiling data is processed with \fIgprof\fP\|(1) 169 the profiling data is stored in a buffer that is 1.2 176 of the system time spent in the profiling code.
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | OpenBSD.cpp | 118 const bool Profiling = Args.hasArg(options::OPT_pg); in ConstructJob() local 161 if (Nopie || Profiling) in ConstructJob() 181 if (Profiling) in ConstructJob() 229 if (Profiling) in ConstructJob() 245 if (Profiling) in ConstructJob() 264 if (!Shared && Profiling) in ConstructJob() 271 if (Profiling) in ConstructJob() 364 bool Profiling = Args.hasArg(options::OPT_pg); in AddCXXStdlibLibArgs() local 366 CmdArgs.push_back(Profiling ? "-lc++_p" : "-lc++"); in AddCXXStdlibLibArgs() 369 CmdArgs.push_back(Profiling ? "-lc++abi_p" : "-lc++abi"); in AddCXXStdlibLibArgs() [all …]
|
H A D | FreeBSD.cpp | 292 bool Profiling = Args.hasArg(options::OPT_pg) && Major != 0 && Major < 14; in ConstructJob() local 303 if (Profiling) in ConstructJob() 319 if (Profiling) in ConstructJob() 331 if (Profiling) in ConstructJob() 337 } else if (Profiling) { in ConstructJob() 346 if (Profiling) in ConstructJob() 352 if (Profiling) { in ConstructJob() 365 } else if (Profiling) { in ConstructJob() 451 bool Profiling = Args.hasArg(options::OPT_pg) && Major != 0 && Major < 14; in AddCXXStdlibLibArgs() local 453 CmdArgs.push_back(Profiling ? "-lc++_p" : "-lc++"); in AddCXXStdlibLibArgs()
|
/freebsd/sys/kern/ |
H A D | subr_prof.c | 45 * Profiling system call. 48 * 1.0 is represented as 0x10000. A scale factor of 0 turns off profiling. 99 * Collect user-level profiling statistics; called on a profiling tick, 132 * Actually update the profiling statistics. If the update fails, we 133 * simply turn off profiling.
|
H A D | kern_clocksource.c | 95 static int profiling; /* Profiling events enabled. */ variable 198 if (profiling) { in handleevents() 256 if (profiling && event > state->nextprof) in getnextcpuevent() 430 while (freq < (profiling ? profhz : stathz)) 712 * Switch to profiling clock rates. 719 if (profiling == 0) { 722 profiling = 1; 725 profiling = 1; 727 profiling++; 739 if (profiling == 1) { [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | ProfileList.h | 30 /// Represents if an how something should be excluded from profiling. 32 /// Profiling is allowed. 34 /// Profiling is skipped using the \p skipprofile attribute. 36 /// Profiling is forbidden using the \p noprofile attribute.
|
/freebsd/share/doc/psd/18.gprof/ |
H A D | gathering.me | 36 profiling statements. 39 to profiling on a routine by routine basis. 49 to assemble different profiling data without having to 67 Gathering of the profiling information should not greatly 75 the profiling data (e.g. assembling the call graph, propagating 78 Our solution is to gather profiling data in memory during program 154 Routines that were compiled without the profiling augmentations
|
/freebsd/usr.sbin/pmcannotate/ |
H A D | pmcannotate.8 | 33 .Nd "sources printout with inlined profiling" 46 a line-by-line based profiling. 47 The profiling information is retrieved through a 72 Shows the program profiling inlined in the assembly code only.
|
/freebsd/usr.bin/gprof/ |
H A D | gprof.1 | 60 that are compiled for profiling. 111 but they are nanoseconds if the profiling clock frequency 115 The very high profiling clock frequencies needed to get sufficient 119 (non-statistical) kernel profiling. 321 the execution of the profiling routine, in which case all is lost. 325 or return normally for the profiling information to be saved
|
/freebsd/share/doc/smm/02.config/ |
H A D | 6.t | 141 kernel profiling. These files are indicated in the 144 .I profiling-routine 145 keyword. For example, the current profiling subroutines 151 \fIsys/subr_mcount.c\fP \fBoptional\fP \fBprofiling-routine\fP 155 .I profiling-routine
|
/freebsd/contrib/jemalloc/ |
H A D | ChangeLog | 111 - Only initialize libgcc unwinder when profiling is enabled. (@paravoid, 321 - Add mutex profiling, which collects a variety of statistics useful for 606 - Fix heap profiling context leaks in reallocation edge cases. (@jasone) 644 unlikely to cause deadlocks in practice except when heap profiling was 739 This bugfix release continues the trend of xallocx() and heap profiling fixes. 753 This bugfix release addresses a few bugs specific to heap profiling. 769 optional extra space. Note that a couple of minor heap profiling 775 fast path when heap profiling is enabled. Additionally, split a special 793 - Fix heap profiling bugs: 794 + Fix heap profiling to distinguish among otherwise identical sample sites [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ValueProfileCollector.h | 10 // determine what kind of llvm::Value's are worth value-profiling, at which 30 /// Utility analysis that determines what values are worth profiling. 34 /// Value profiling an expression means to track the values that this expression 73 /// returns a list of value profiling candidates of the given kind
|
/freebsd/release/packages/ |
H A D | Makefile.package | 98 jail-profile_DESCR= Profiling Libraries 102 jail-lib32-profile_DESCR=32-bit Profiling Libraries 151 runtime-profile_DESCR= Profiling Libraries 155 runtime-lib32-profile_DESCR=32-bit Profiling Libraries
|