Skip to content

Commit

Permalink
fix spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
slabasan committed Apr 5, 2024
1 parent e7a291f commit 20362c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/c/runtime/advice_chrome_tracing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ advice_chrome_tracing_t::advice_chrome_tracing_t ()
// PERFFLOW_OPTIONS envVar
// To specify the name of this workflow component (default: name=generic)
// PERFFLOW_OPTIONS="name=foo"
// To constomize output filename (default: log-filename-include=hostname,pid)
// To customize output filename (default: log-filename-include=hostname,pid)
// PERFFLOW_OPTIONS="log-filename-include=<metadata1, metadata2, ...>
// Supported metadata:
// name: workflow component name
Expand Down
2 changes: 1 addition & 1 deletion src/c/runtime/perfflow_runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void perfflow_weave_init()
{
if (!(advice = create_advice(advice_kind)))
{
// USE C IO since it more reliable in libray init function
// USE C IO since it more reliable in library init function
fprintf(stderr, "error: unknown (%s)\n", advice_kind.c_str());
fprintf(stderr, "error: perfflow advice not activated\n");
}
Expand Down
2 changes: 1 addition & 1 deletion src/c/weaver/weave/perfflow_weave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ bool WeavingPass::insertAfter(Module &m, Function &f, StringRef &a,
params.push_back(int8PtrType);
params.push_back(int8PtrType);

// voidType is return type, parms are parameters and no variable length args
// voidType is return type, params are parameters and no variable length args
FunctionType *weaveFuncTy = FunctionType::get(voidType, params, false);
// Note: Use FunctionCallee after for Clang 9 or higher
FunctionCallee after = m.getOrInsertFunction("perfflow_weave_after",
Expand Down

0 comments on commit 20362c5

Please sign in to comment.