summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorTaylor Hutt <thutt@chromium.org>2011-10-06 10:29:51 -0700
committerTaylor Hutt <thutt@chromium.org>2011-10-06 10:29:51 -0700
commit16372a573e5e5a44c8cd0593e41ce3d0d3ad0fd2 (patch)
tree769a6e29781258c520aec6eb3e738bccf6400720 /.gitignore
parentd1eeed61ad82eb7bc176b7242d4a2e3ed79ad4fe (diff)
downloadadhd-16372a573e5e5a44c8cd0593e41ce3d0d3ad0fd2.tar.gz
ADHD: Provide better diagnostics for function entry & exit
Details Since ADHD is a multithreaded application, where different threads will use the same functions, I think it is beneficial to provide more context, at sufficient verbosity, about how functions are being entered an exited. This change alters VERBOSE_FUNCTION_ENTER() and VERBOSE_FUNCTION_EXIT() to take a varadic set of parameters, facilitating the output of the arguments passed to the function. Testing o tegra2_kaen killed default instance of gavd /usr/bin/gavd --verbose=10 grep gavd /var/log/messages gavd[2859]: daemonize: release mode. gavd[2859]: signal_start gavd[2859]: threads_start: 'Internal Microphone' gavd[2859]: threads_start: 'Internal Headphone' gavd[2859]: beg gpio_switch_monitor(Internal Microphone, tegra-seaboard Mic Jack, 4, (null), (null)) gavd[2859]: beg sys_input_find_device_by_name(tegra-seaboard Mic Jack) gavd[2859]: utils_execute_command: '/usr/bin/amixer set 'Speaker' 100% && /usr/bin/amixer set 'Headphone' 100% && /usr/bin/amixer set 'Digital' 100% && /usr/bin/amixer set 'Left Speaker Mixer DACL' on && /usr/bin/amixer set 'Right Speaker Mixer DACL' on && /usr/bin/amixer set 'Left Speaker Mixer DACR' on && /usr/bin/amixer set 'Right Speaker Mixer DACR' on && /usr/bin/amixer set 'ADC Input' 'DMIC'' succeeded. gavd[2859]: beg gpio_switch_monitor(Internal Headphone, tegra-seaboard Headphone Jack, 2, /usr/bin/amixer set 'Speaker' off && /usr/bin/amixer set 'Int Spk' off && /usr/bin/amixer set 'Headphone' on, /usr/bin/amixer set 'Speaker' on && /usr/bin/amixer set 'Int Spk' on && /usr/bin/amixer set 'Headphone' off) gavd[2859]: beg sys_input_find_device_by_name(tegra-seaboard Headphone Jack) gavd[2859]: end sys_input_find_device_by_name(tegra-seaboard Mic Jack) o x86-mario killed default instance of gavd /usr/bin/gavd --verbose=10 grep gavd /var/log/messages gavd[2967]: compiled for target machine: 'x86-mario' gavd[2967]: beg daemonize(void) gavd[2967]: Child process: '2968'. gavd[2968]: daemonize: release mode. gavd[2968]: signal_start There is less output because x86-based machines do not have any hardware monitoring yet. BUG=chromium-os:19558 TEST=See above. Change-Id: I711403710fbfe42f2fe3ee77d95063efbd19c6bb Signed-off-by: Taylor Hutt <thutt@chromium.org>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 378eac25..98c5c08b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
build
+cscope.*