You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the ability to selectively instrument a subset of functions by dividing the functions into N logical groups and then selecting a group to cover. By selecting different groups over time you could cover the entire application incrementally with lower overhead than instrumenting the entire application at once.
Differential Revision: https://reviews.llvm.org/D87953
HelpText<"Select which XRay instrumentation points to emit. Options: all, none, function-entry, function-exit, function, custom. Default is 'all'. 'function' includes both 'function-entry' and 'function-exit'.">;
1341
1341
1342
+
def fxray_function_groups :
1343
+
Joined<["-"], "fxray-function-groups=">,
1344
+
Group<f_Group>, Flags<[CC1Option]>,
1345
+
HelpText<"Only instrument 1 of N groups">;
1346
+
1347
+
def fxray_selected_function_group :
1348
+
Joined<["-"], "fxray-selected-function-group=">,
1349
+
Group<f_Group>, Flags<[CC1Option]>,
1350
+
HelpText<"When using -fxray-function-groups, select which group of functions to instrument. Valid range is 0 to fxray-function-groups - 1">;
0 commit comments