forked from kata-containers/agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log the trace mode and type when tracing is enabled. The change makes it clearer that static tracing is enabled when the agent parsers the kernel command line (`config.go`) and dynamic tracing is enabled by gRPC (`grpc.go`). Specifics of change: - Rename variables to match the terms defined in `TRACING.md`. - Pass trace mode and trace type arguments to `enableTracing()`. - Change the tense of the message displayed by `enableTracing()` so that the message indicates that tracing *is* enabled, not *about to be*. Fixes kata-containers#504. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
- Loading branch information
1 parent
7720b93
commit 2ada1d1
Showing
3 changed files
with
39 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters