Re: 答复:答复:[PATCH 2/4] perf tools: relate 'start' & 'end' to perf_session

2013-11-07 Thread David Ahern
On 11/7/13, 5:14 AM, 秦承刚 wrote: Hi, David The samples for the task before the end of the time window are not influenced by the time window. The time window only cover the sample events in the ordered_samples. FORK, MMAP, COMM events are not in the ordered_samples. They are delivered in the functi

Re: 答复:[PATCH 2/4] perf tools: relate 'start' & 'end' to perf_session

2013-11-06 Thread David Ahern
On 11/6/13, 4:23 AM, 秦承刚 wrote: Hi David: The goal is to simplify transfering the times to function perf_session__process_events() and other functions in the sample processing path. Session is a parameter throughout the total sample processing path. Right. By putting the time check in session c

Re: [PATCH 2/4] perf tools: relate 'start' & 'end' to perf_session

2013-11-02 Thread David Ahern
On 11/1/13, 3:29 AM, Chenggang Qin wrote: Copy the value to start and end to struct perf_session. Why put the times in the session? 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 ht

[PATCH 2/4] perf tools: relate 'start' & 'end' to perf_session

2013-11-01 Thread Chenggang Qin
Copy the value to start and end to struct perf_session. Cc: David Ahern Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Arjan van de Ven Cc: Namhyung Kim Cc: Yanmin Zhang Cc: Wu Fengguang Cc: Mike Galbraith Cc: Andrew Morton Signed-off-by: Chenggan