projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'hwspinlock-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad...
[deliverable/linux.git]
/
tools
/
perf
/
util
/
tsc.c
diff --git
a/tools/perf/util/tsc.c
b/tools/perf/util/tsc.c
index ef4749836ce94337a1618263afc19abe0761e553..4d4210d4e13d1d7fbc32a5c1f4afff58a0810fd0 100644
(file)
--- a/
tools/perf/util/tsc.c
+++ b/
tools/perf/util/tsc.c
@@
-23,3
+23,8
@@
u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc)
return tc->time_zero + quot * tc->time_mult +
((rem * tc->time_mult) >> tc->time_shift);
}
+
+u64 __weak rdtsc(void)
+{
+ return 0;
+}
This page took
0.02508 seconds
and
5
git commands to generate.