-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4034 from chef/lcg/ruby-profiling
add optional ruby-profiling with --profile-ruby
- Loading branch information
Showing
6 changed files
with
66 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Author:: AJ Christensen (<[email protected]) | ||
# Author:: Christopher Brown (<[email protected]>) | ||
# Author:: Mark Mzyk ([email protected]) | ||
# Copyright:: Copyright (c) 2008 Opscode, Inc. | ||
# Copyright:: Copyright (c) 2008-2015 Chef Software, Inc. | ||
# License:: Apache License, Version 2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
|
@@ -55,6 +55,12 @@ class Chef::Application::Client < Chef::Application | |
:boolean => true, | ||
:default => false | ||
|
||
option :profile_ruby, | ||
:long => "--[no-]profile-ruby", | ||
:description => "Dump complete Ruby call graph stack of entire Chef run (expert only)", | ||
:boolean => true, | ||
:default => false | ||
|
||
option :color, | ||
:long => '--[no-]color', | ||
:boolean => true, | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# | ||
# Author:: AJ Christensen (<[email protected]>) | ||
# Author:: Mark Mzyk ([email protected]) | ||
# Copyright:: Copyright (c) 2008 Opscode, Inc. | ||
# Copyright:: Copyright (c) 2008-2015 Chef Software, Inc. | ||
# License:: Apache License, Version 2.0 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
|
@@ -52,6 +52,12 @@ class Chef::Application::Solo < Chef::Application | |
:boolean => true, | ||
:default => false | ||
|
||
option :profile_ruby, | ||
:long => "--[no-]profile-ruby", | ||
:description => "Dump complete Ruby call graph stack of entire Chef run (expert only)", | ||
:boolean => true, | ||
:default => false | ||
|
||
option :color, | ||
:long => '--[no-]color', | ||
:boolean => true, | ||
|
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