Prev: workqueues: change cancel_work_sync() to clear work->data
Next: [tip:core/rcu] rcu: Integrate rcu_dereference_check() message into lockdep
From: tip-bot for Tom Zanussi on 25 Feb 2010 05:10 Commit-ID: e26207a3819684e9b4450a2d30bdd065fa92d9c7 Gitweb: http://git.kernel.org/tip/e26207a3819684e9b4450a2d30bdd065fa92d9c7 Author: Tom Zanussi <tzanussi(a)gmail.com> AuthorDate: Wed, 27 Jan 2010 02:27:53 -0600 Committer: Frederic Weisbecker <fweisbec(a)gmail.com> CommitDate: Tue, 23 Feb 2010 20:34:45 +0100 perf/scripts: Fix bug in Util.pm Fix bogus calculation. Signed-off-by: Tom Zanussi <tzanussi(a)gmail.com> Cc: Ingo Molnar <mingo(a)elte.hu> Cc: Steven Rostedt <rostedt(a)goodmis.org> Cc: Keiichi KII <k-keiichi(a)bx.jp.nec.com> Cc: Peter Zijlstra <a.p.zijlstra(a)chello.nl> Cc: Paul Mackerras <paulus(a)samba.org> Cc: Arnaldo Carvalho de Melo <acme(a)redhat.com> LKML-Reference: <1264580883-15324-3-git-send-email-tzanussi(a)gmail.com> Signed-off-by: Frederic Weisbecker <fweisbec(a)gmail.com> --- .../perl/Perf-Trace-Util/lib/Perf/Trace/Util.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/Util.pm b/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/Util.pm index 052f132..f869c48 100644 --- a/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/Util.pm +++ b/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/Util.pm @@ -44,7 +44,7 @@ sub nsecs_secs { sub nsecs_nsecs { my ($nsecs) = @_; - return $nsecs - nsecs_secs($nsecs); + return $nsecs % $NSECS_PER_SEC; } sub nsecs_str { -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |