diff options
author | William Cohen <wcohen@redhat.com> | 2009-07-15 18:34:16 -0400 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2009-07-15 18:34:16 -0400 |
commit | 6f6997716034f520bedb8655c783dba47d633ceb (patch) | |
tree | 32fb9eb9d3ce48fa496a7c6e18efb44c55ba3729 /runtime/transport/control.c | |
parent | 976159f2a2491a49090ea180ab17078fe84cc795 (diff) | |
parent | 6f01f1e0192d74bb535fbfbadeb18acdd131d1d6 (diff) | |
download | systemtap-steved-6f6997716034f520bedb8655c783dba47d633ceb.tar.gz systemtap-steved-6f6997716034f520bedb8655c783dba47d633ceb.tar.xz systemtap-steved-6f6997716034f520bedb8655c783dba47d633ceb.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/transport/control.c')
-rw-r--r-- | runtime/transport/control.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/transport/control.c b/runtime/transport/control.c index 35130f0f..925a6768 100644 --- a/runtime/transport/control.c +++ b/runtime/transport/control.c @@ -34,8 +34,7 @@ static ssize_t _stp_ctl_write_cmd(struct file *file, const char __user *buf, siz count -= sizeof(u32); buf += sizeof(u32); - -#ifdef DEBUG_TRANS +#if defined(DEBUG_TRANS) && (DEBUG_TRANS >= 2) if (type < STP_MAX_CMD) dbug_trans2("Got %s. len=%d\n", _stp_command_name[type], (int)count); |