summaryrefslogtreecommitdiff
path: root/lib/tsan/rtl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tsan/rtl')
-rw-r--r--lib/tsan/rtl/tsan_stat.cc2
-rw-r--r--lib/tsan/rtl/tsan_stat.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/tsan/rtl/tsan_stat.cc b/lib/tsan/rtl/tsan_stat.cc
index 30b4a952..922a5f44 100644
--- a/lib/tsan/rtl/tsan_stat.cc
+++ b/lib/tsan/rtl/tsan_stat.cc
@@ -374,6 +374,8 @@ void StatOutput(u64 *stat) {
name[StatInt_backtrace_symbols] = " backtrace_symbols ";
name[StatInt_dlopen] = " dlopen ";
name[StatInt_dlclose] = " dlclose ";
+ name[StatInt_getmntent] = " getmntent ";
+ name[StatInt_getmntent_r] = " getmntent_r ";
name[StatAnnotation] = "Dynamic annotations ";
name[StatAnnotateHappensBefore] = " HappensBefore ";
diff --git a/lib/tsan/rtl/tsan_stat.h b/lib/tsan/rtl/tsan_stat.h
index 9129b221..c98ad6bc 100644
--- a/lib/tsan/rtl/tsan_stat.h
+++ b/lib/tsan/rtl/tsan_stat.h
@@ -369,6 +369,8 @@ enum StatType {
StatInt_backtrace_symbols,
StatInt_dlopen,
StatInt_dlclose,
+ StatInt_getmntent,
+ StatInt_getmntent_r,
// Dynamic annotations.
StatAnnotation,