On Sat, Jan 29, 2011 at 12:50 PM, Arnaldo Carvalho de Melo
<[email protected]> wrote:
> /me too
>
> I have to get back to that, it is definetely a feature we need to have.
There are a couple of more minor nits I found in David's patch:
* perf record --timehist doesn't seem to be doing anything. I used
perf record -T -a.
* Some of the printfs are missing checks along the lines of:
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -228,6 +228,7 @@ static int perf_session__print_sample(struct
perf_session *session,
free(syms);
} else {
+ if (!data || !al || !al->thread || !al->sym ||
!al->map) return 0;
printf(TIMEHIST_FMT,
tstr, data->cpu,
al->thread->comm, al->thread->pid, al->addr,
to avoid SIGSEGVs when the information in the sample is incomplete.
-Arun
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html