projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7a5ff0
)
cc: Fix assertion for debug builds
author
Sasha Goldshtein
<goldshtn@gmail.com>
Fri, 3 Mar 2017 20:13:16 +0000
(15:13 -0500)
committer
Sasha Goldshtein
<goldshtn@gmail.com>
Fri, 3 Mar 2017 20:13:16 +0000
(15:13 -0500)
src/cc/usdt.cc
patch
|
blob
|
history
diff --git
a/src/cc/usdt.cc
b/src/cc/usdt.cc
index
bc04906
..
7d1dd57
100644
(file)
--- a/
src/cc/usdt.cc
+++ b/
src/cc/usdt.cc
@@
-63,7
+63,7
@@
bool Probe::resolve_global_address(uint64_t *global, const uint64_t addr) {
}
bool Probe::add_to_semaphore(int16_t val) {
- assert(pid_
&& attached_semaphore_
);
+ assert(pid_);
if (!attached_semaphore_) {
uint64_t addr;