Hi David/All,

I have a multi-thread process, If I use the method of perf record -p
pid, does perf do the OVERFLOWING on the per-THREAD mode or
per-PROCESS mode??

Another question is similar, if what I have is a multi-process
program, one process spawns other processes. To make it complicate,
each process could still be a Multi-thread process. I give the first
process pid to perf record -p pid, does perf do OVERFLOWING on the
per-THREAD mode or per-PROCESS mode or per-CORE or ALL-CPUs mode??

The third question is just one I want to make sure:

Although I get the information that perf record use per-thread as
default mode, when I check the multi-thread program, given the command
running this program to perf record like "perf record -e cycles java
Helloworld", I find that:
           some timestamps are so close to each other that I begin to
doubt if the above perf calculates perf counter values over the whole
process, rather than calculate perf event counters for each thread.

Thanks again for your help very much.

Best wishes.
Yours,
Wang Peipei
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to