Re: [PATCH] perf: fix perf-lock report coredump

From: David Ahern
Date: Wed Jul 11 2012 - 23:50:15 EST


On 7/10/12 11:14 PM, Jovi Zhang wrote:
Does this fix it for you:
http://lkml.org/lkml/2012/7/6/405

Yeah, same problem.
But the question is if there have some sample event with raw data in
perf.data, are we still just exit(1)?
or let perf-lock only report those sample events with raw data?

perf-lock uses 4 tracepoints. tracepoints add -R (raw data) to events. So, if the perf.data does not have tracepoints, there is no need for perf-lock info or report subcommands to proceed.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/