On 10/18/13 6:29 AM, Adrian Hunter wrote:
For kernels that do not support PERF_SAMPLE_IDENTIFIER,
sample types need not be identical to determine
the sample id from the event. Only the position
of the sample id needs to be the same.
Compatible sample types are ones in which the bits
defined by PERF_COMPAT_MASK are the same.
'perf_evlist__config()' forces sample types to be
compatible on that basis.
Arnaldo and I have discussed adding callchain handling to perf-trace. To
do that we only need stack data (including IP) for one event -- eg,
raw_syscalls:sys_enter. That means raw_syscalls:sys_enter and
raw_syscalls:sys_exit will have different attributes set - including
ones in the MASK.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/