| /freebsd/sys/dev/mthca/ |
| H A D | mthca_profile.c | 79 struct mthca_resource *profile; in mthca_make_profile() local 82 profile = kzalloc(MTHCA_RES_NUM * sizeof *profile, GFP_KERNEL); in mthca_make_profile() 83 if (!profile) in mthca_make_profile() 86 profile[MTHCA_RES_QP].size = dev_lim->qpc_entry_sz; in mthca_make_profile() 87 profile[MTHCA_RES_EEC].size = dev_lim->eec_entry_sz; in mthca_make_profile() 88 profile[MTHCA_RES_SRQ].size = dev_lim->srq_entry_sz; in mthca_make_profile() 89 profile[MTHCA_RES_CQ].size = dev_lim->cqc_entry_sz; in mthca_make_profile() 90 profile[MTHCA_RES_EQP].size = dev_lim->eqpc_entry_sz; in mthca_make_profile() 91 profile[MTHCA_RES_EEEC].size = dev_lim->eeec_entry_sz; in mthca_make_profile() 92 profile[MTHCA_RES_EQ].size = dev_lim->eqc_entry_sz; in mthca_make_profile() [all …]
|
| /freebsd/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_profile.c | 84 struct mlx4_resource *profile; in mlx4_make_profile() local 87 profile = kcalloc(MLX4_RES_NUM, sizeof(*profile), GFP_KERNEL); in mlx4_make_profile() 88 if (!profile) in mlx4_make_profile() 91 profile[MLX4_RES_QP].size = dev_cap->qpc_entry_sz; in mlx4_make_profile() 92 profile[MLX4_RES_RDMARC].size = dev_cap->rdmarc_entry_sz; in mlx4_make_profile() 93 profile[MLX4_RES_ALTC].size = dev_cap->altc_entry_sz; in mlx4_make_profile() 94 profile[MLX4_RES_AUXC].size = dev_cap->aux_entry_sz; in mlx4_make_profile() 95 profile[MLX4_RES_SRQ].size = dev_cap->srq_entry_sz; in mlx4_make_profile() 96 profile[MLX4_RES_CQ].size = dev_cap->cqc_entry_sz; in mlx4_make_profile() 97 profile[MLX4_RES_EQ].size = dev_cap->eqc_entry_sz; in mlx4_make_profile() [all …]
|
| /freebsd/crypto/krb5/src/util/profile/ |
| H A D | prof_init.c | 16 /* Create a vtable profile, possibly with a library handle. The new profile 22 profile_t profile; in init_module() local 35 profile = malloc(sizeof(*profile)); in init_module() 36 if (!profile) in init_module() 38 memset(profile, 0, sizeof(*profile)); in init_module() 42 free(profile); in init_module() 49 profile->vt = vt_copy; in init_module() 50 profile->cbdata = cbdata; in init_module() 51 profile->lib_handle = handle; in init_module() 52 profile->magic = PROF_MAGIC_PROFILE; in init_module() [all …]
|
| H A D | prof_set.c | 4 * inserting, updating and deleting items from the profile. 7 * profile. It's not clear how to handle multiple files, actually. 24 static errcode_t rw_setup(profile_t profile) in rw_setup() argument 29 if (!profile) in rw_setup() 32 if (profile->magic != PROF_MAGIC_PROFILE) in rw_setup() 35 /* If the profile has no files, create a memory-only data object. */ in rw_setup() 36 if (profile->first_file == NULL) { in rw_setup() 37 profile->first_file = profile_open_memory(); in rw_setup() 38 return (profile->first_file == NULL) ? ENOMEM : 0; in rw_setup() 41 file = profile->first_file; in rw_setup() [all …]
|
| H A D | prof_err.et | 3 error_code PROF_VERSION, "Profile version 0.0" 9 error_code PROF_NO_SECTION, "Profile section not found" 10 error_code PROF_NO_RELATION, "Profile relation not found" 14 "A profile section header has a non-zero value" 15 error_code PROF_BAD_LINK_LIST, "Bad linked list in profile structures" 16 error_code PROF_BAD_GROUP_LVL, "Bad group level in profile structures" 18 "Bad parent pointer in profile structures" 19 error_code PROF_MAGIC_ITERATOR, "Bad magic value in profile iterator" 21 error_code PROF_EINVAL, "Invalid argument passed to profile library" 22 error_code PROF_READ_ONLY, "Attempt to modify read-only profile" [all …]
|
| H A D | prof_get.c | 4 * querying items from the profile. 131 /* Look up a relation in a vtable profile. */ 133 get_values_vt(profile_t profile, const char *const *names, char ***ret_values) in get_values_vt() argument 139 retval = profile->vt->get_values(profile->cbdata, names, &vtvalues); in get_values_vt() 151 profile->vt->free_values(profile->cbdata, vtvalues); in get_values_vt() 156 profile_get_values(profile_t profile, const char *const *names, in profile_get_values() argument 165 if (!profile) in profile_get_values() 167 if (profile->vt) in profile_get_values() 168 return get_values_vt(profile, names, ret_values); in profile_get_values() 170 if ((retval = profile_node_iterator_create(profile, names, in profile_get_values() [all …]
|
| H A D | profile.hin | 2 * profile.h 30 * Used by the profile iterator in prof_get.c 58 (profile_t profile); 60 (profile_t profile, const_profile_filespec_t outfile); 62 (profile_t profile, char **bufp); 64 (profile_t profile, char *buf); 67 (profile_t profile, int *writable); 69 (profile_t profile, int *modified); 72 (profile_t profile); 75 (profile_t profile); [all …]
|
| H A D | test_profile.c | 3 * test_profile.c --- testing program for the profile routine 23 do_batchmode(profile_t profile) in do_batchmode() argument 51 retval = profile_get_values(profile, names, &values); in do_batchmode() 54 retval = profile_get_value(profile, names, &value); in do_batchmode() 57 retval = profile_get_subsection_names(profile, names, in do_batchmode() 61 retval = profile_get_relation_names(profile, names, in do_batchmode() 66 (profile->first_file->data->root, stdout); in do_batchmode() 68 retval = profile_clear_relation(profile, names); in do_batchmode() 70 retval = profile_update_relation(profile, names+2, in do_batchmode() 74 (profile->first_file->data->root); in do_batchmode() [all …]
|
| H A D | test_vtable.c | 2 /* util/profile/test_vtable.c - Test program for vtable-backed profiles */ 28 * This test program exercises vtable profile functionality using two vtables, 30 * the methods. The program doesn't attempt to create a working profile 36 #include "profile.h" 238 profile_t profile; in main() local 243 assert(profile_init_vtable(&basic_vtable, &basic_cbdata, &profile) == 0); in main() 244 assert(profile_get_values(profile, empty_names, &values) == 0); in main() 249 assert(profile_iterator_create(profile, NULL, 0, &iter) == in main() 251 assert(profile_is_writable(profile, &intval) == 0); in main() 253 assert(profile_is_modified(profile, &intval) == 0); in main() [all …]
|
| /freebsd/usr.bin/clang/llvm-profdata/ |
| H A D | llvm-profdata.1 | 32 llvm-profdata \- Profile data tool 38 The \fBllvm\-profdata\fP tool is a small utility for working with profile 55 \fBllvm\-profdata merge\fP takes several profile data files 57 indexed profile data file. 59 By default profile data is merged without modification. This means that the 78 indexed profile data can\(aqt be written to standard output. 83 Specify an input file name along with a weight. The profile counts of the 100 profile to the symbol names that should be used in the output profile. The 110 Specify that the input profile is an instrumentation\-based profile. 115 Specify that the input profile is a sample\-based profile. [all …]
|
| /illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
| H A D | prof_solaris.c | 36 __profile_iter_name_value(profile_t profile, char *section, char *key, in __profile_iter_name_value() argument 52 code = profile_iterator_create(profile, hierarchy, in __profile_iter_name_value() 96 __profile_get_domain_realm(profile_t profile, char *realm, char ***domains) in __profile_get_domain_realm() argument 98 if (profile == NULL || realm == NULL || domains == NULL) in __profile_get_domain_realm() 101 return (__profile_iter_name_value(profile, "domain_realm", realm, in __profile_get_domain_realm() 106 __profile_set_appdefaults(profile_t profile) in __profile_set_appdefaults() argument 111 if (profile == NULL) in __profile_set_appdefaults() 123 (void) profile_clear_relation(profile, hierarchy); in __profile_set_appdefaults() 125 code = profile_add_relation(profile, hierarchy, "true"); in __profile_set_appdefaults() 131 (void) profile_clear_relation(profile, hierarchy); in __profile_set_appdefaults() [all …]
|
| H A D | prof_init.c | 33 profile_t profile; in profile_init() local 37 profile = malloc(sizeof(struct _profile_t)); in profile_init() 38 if (!profile) in profile_init() 40 memset(profile, 0, sizeof(struct _profile_t)); in profile_init() 41 profile->magic = PROF_MAGIC_PROFILE; in profile_init() 43 /* if the filenames list is not specified return an empty profile */ in profile_init() 52 profile_release(profile); in profile_init() 58 profile->first_file = new_file; in profile_init() 66 profile_release(profile); in profile_init() 71 *ret_profile = profile; in profile_init() [all …]
|
| H A D | prof_set.c | 3 * inserting, updating and deleting items from the profile. 6 * profile. It's not clear how to handle multiple files, actually. 23 static errcode_t rw_setup(profile_t profile) in rw_setup() argument 28 if (!profile) in rw_setup() 31 if (profile->magic != PROF_MAGIC_PROFILE) in rw_setup() 34 file = profile->first_file; in rw_setup() 83 profile_update_relation(profile_t profile, const char **names, in profile_update_relation() argument 91 retval = rw_setup(profile); in profile_update_relation() 101 retval = k5_mutex_lock(&profile->first_file->data->lock); in profile_update_relation() 104 section = profile->first_file->data->root; in profile_update_relation() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/XRay/ |
| H A D | Profile.h | 1 //===- Profile.h - XRay Profile Abstraction -------------------------------===// 9 // Defines the XRay Profile class representing the latency profile generated by 27 class Profile; variable 29 // We forward declare the Trace type for turning a Trace into a Profile. 32 /// This function will attempt to load an XRay Profiling Mode profile from the 35 /// For any errors encountered in the loading of the profile data from 37 Expected<Profile> loadProfile(StringRef Filename); 39 /// This algorithm will merge two Profile instances into a single Profile 41 Profile mergeProfilesByThread(const Profile &L, const Profile &R); 43 /// This algorithm will merge two Profile instances into a single Profile [all …]
|
| /illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/ |
| H A D | profile.h | 6 * profile.h 31 * Used by the profile iterator in prof_get.c 53 (profile_t profile); 55 (profile_t profile, const_profile_filespec_t outfile); 57 (profile_t profile, char **bufp); 59 (profile_t profile, char *buf); 62 (profile_t profile, int *writable); 64 (profile_t profile, int *modified); 67 (profile_t profile); 70 (profile_t profile); [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfiling.h | 23 #include "profile/instr_prof_interface.h" 27 #include "profile/InstrProfData.inc" 31 #include "profile/InstrProfData.inc" 38 #include "profile/InstrProfData.inc" 43 #include "profile/InstrProfData.inc" 49 #include "profile/InstrProfData.inc" 54 #include "profile/InstrProfData.inc" 58 * \brief Return 1 if profile counters are continuously synced to the raw 59 * profile via an mmap(). This is in contrast to the default mode, in which 60 * the raw profile is written out at program exit time. [all …]
|
| /illumos-gate/usr/src/man/man8/ |
| H A D | wificonfig.8 | 17 \fBwificonfig\fR [\fB-R\fR \fIroot_path\fR] [\fB-i\fR \fIinterface\fR] connect profile 66 \fBwificonfig\fR [\fB-R\fR \fIroot_path\fR] createprofile profile 78 \fBwificonfig\fR [\fB-R\fR \fIroot_path\fR] showprofile [\fIprofile\fR] 83 \fBwificonfig\fR [\fB-R\fR \fIroot_path\fR] setprofilewepkey \fIprofile\fR 1|2|3|4 88 \fBwificonfig\fR [\fB-R\fR \fIroot_path\fR] getprofileparam \fIprofile\fR 110 \fBwificonfig\fR [\fB-R\fR \fIroot_path\fR] removeprefer \fIprofile\fR 115 \fBwificonfig\fR [\fB-R\fR \fIroot_path\fR] setprefer \fIprofile\fR [\fIn\fR] 138 operate on \fBWiFi\fR Configuration Profiles. A Configuration Profile allows 152 A Configuration Profile can be created for a \fBWLAN\fR by using the 193 \fBprofile\fR [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/XRay/ |
| H A D | Profile.cpp | 1 //===- Profile.cpp - XRay Profile Abstraction -----------------------------===// 9 // Defines the XRay Profile class representing the latency profile generated by 13 #include "llvm/XRay/Profile.h" 25 Profile::Profile(const Profile &O) { in Profile() function in llvm::xray::Profile 27 // Profile being initialized, through the Block instances we see. in Profile() 37 Profile &Profile::operator=(const Profile &O) { in operator =() 38 Profile P = O; in operator =() 78 static Expected<std::vector<Profile::FuncID>> readPath(DataExtractor &Extractor, in readPath() 81 std::vector<Profile::FuncID> Path; in readPath() 96 static Expected<Profile::Data> readData(DataExtractor &Extractor, in readData() [all …]
|
| /freebsd/lib/libclang_rt/profile/ |
| H A D | Makefile | 3 LIB= clang_rt.profile-${CRTARCH} 12 SRCS+= profile/GCDAProfiling.c 13 SRCS+= profile/InstrProfiling.c 14 SRCS+= profile/InstrProfilingBuffer.c 15 SRCS+= profile/InstrProfilingFile.c 16 SRCS+= profile/InstrProfilingInternal.c 17 SRCS+= profile/InstrProfilingMerge.c 18 SRCS+= profile/InstrProfilingMergeFile.c 19 SRCS+= profile/InstrProfilingNameVar.c 20 SRCS+= profile/InstrProfilingPlatformLinux.c [all …]
|
| /illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/ |
| H A D | ksh-regress.tst | 4084 ksh:REGRESS:etc:sh_open:/etc/profile => ./profile 4085 ksh:REGRESS:source:sh_source:/etc/profile:ENOENT 4086 ksh:REGRESS:source:sh_source:./.profile:ENOENT 4087 ksh:REGRESS:source:sh_source:.profile:ENOENT' 4095 ksh:REGRESS:etc:sh_open:/etc/profile => ./profile 4096 ksh:REGRESS:source:sh_source:/etc/profile:ENOENT' 4107 ksh:REGRESS:etc:sh_open:/etc/profile => ./profile 4108 ksh:REGRESS:source:sh_source:/etc/profile:ENOENT 4109 ksh:REGRESS:source:sh_source:./.profile:ENOENT 4110 ksh:REGRESS:source:sh_source:.profile:ENOENT' [all …]
|
| /illumos-gate/usr/src/man/man1/ |
| H A D | gprof.1 | 9 gprof \- display call-graph profile data 14 [\fIimage-file\fR [\fIprofile-file\fR...]] 19 The \fBgprof\fR utility produces an execution profile of a program. The effect 20 of called routines is incorporated in the profile of each caller. The profile 21 data is taken from the call graph profile file that is created by programs 27 read and correlated with the call graph profile file \fIprofile-file\fR 46 Next, a flat profile is given. 50 profile index numbers. 87 Brief. Suppress descriptions of each field in the profile. 117 Produce a profile file \fBgmon.sum\fR that represents the difference of the [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SymbolManager.h | 55 static void Profile(llvm::FoldingSetNodeID& profile, const TypedValueRegion* R) { in Profile() argument 56 profile.AddInteger((unsigned) SymbolRegionValueKind); in Profile() 57 profile.AddPointer(R); in Profile() 60 void Profile(llvm::FoldingSetNodeID& profile) override { in Profile() argument 61 Profile(profile, R); in Profile() 112 static void Profile(llvm::FoldingSetNodeID& profile, const Stmt *S, in Profile() argument 115 profile.AddInteger((unsigned) SymbolConjuredKind); in Profile() 116 profile.AddPointer(S); in Profile() 117 profile.AddPointer(LCtx); in Profile() 118 profile.Add(T); in Profile() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfile.cpp | 10 // reads a profile file generated by a sampling profiler (e.g. Linux Perf - 12 // profile information in the given profile. 99 #define DEBUG_TYPE "sample-profile" 103 "Number of functions inlined with context sensitive profile"); 105 "Number of functions not inlined with context sensitive profile"); 107 "Number of functions with CFG mismatched profile"); 108 STATISTIC(NumMatchedProfile, "Number of functions with CFG matched profile"); 123 "sample-profile-file", cl::init(""), cl::value_desc("filename"), 124 cl::desc("Profile file loaded by -sample-profile"), cl::Hidden); 130 "sample-profile-remapping-file", cl::init(""), cl::value_desc("filename"), [all …]
|
| /illumos-gate/usr/src/lib/gss_mechs/mech_krb5/et/ |
| H A D | prof_err.c | 13 "Profile version 0.0")); in prof_error_table() 19 "Profile section not found")); in prof_error_table() 22 "Profile relation not found")); in prof_error_table() 28 "A profile section header has a non-zero value")); in prof_error_table() 31 "Bad linked list in profile structures")); in prof_error_table() 34 "Bad group level in profile structures")); in prof_error_table() 37 "Bad parent pointer in profile structures")); in prof_error_table() 40 "Bad magic value in profile iterator")); in prof_error_table() 46 "Invalid argument passed to profile library")); in prof_error_table() 49 "Attempt to modify read-only profile")); in prof_error_table() [all …]
|
| /freebsd/share/man/man4/ |
| H A D | dtrace_profile.4 | 13 .Nm profile Ns Cm :::profile- Ns Ar rate Ns Op Ar unit 14 .Nm profile Ns Cm :::tick- Ns Ar rate Ns Op Ar unit 17 .Nm profile 22 .Nm profile Ns Cm :::profile 27 .Nm profile Ns Cm :::tick 32 .Nm profile 39 .Nm profile 54 .Nm profile 71 .Nm profile 77 .Va kern.dtrace.profile.aframes [all …]
|