summaryrefslogtreecommitdiffstats
path: root/runtime/probes/test4/dtr.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/probes/test4/dtr.c')
-rw-r--r--runtime/probes/test4/dtr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/probes/test4/dtr.c b/runtime/probes/test4/dtr.c
index 1c8d8f05..8c6257e2 100644
--- a/runtime/probes/test4/dtr.c
+++ b/runtime/probes/test4/dtr.c
@@ -15,7 +15,7 @@ MAP opens, reads, writes;
asmlinkage long inst_sys_open (const char __user * filename, int flags, int mode)
{
_stp_map_key_str (opens, current->comm);
- _stp_map_set_int64 (opens, _stp_map_get_int64(opens) + 1);
+ _stp_map_add_int64 (opens, 1);
jprobe_return();
return 0;
}