Re: Costly Context Switches

From: Ralf Hildebrandt
Date: Mon Dec 13 2010 - 09:09:27 EST


* Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxxxx>:

> Better to record just "cs" (Context Switches) events and also to collect
> callchains when those events take place:
>
> [acme@felicio ~]$ perf record -e cs -g chromium-browser


OK, I will try this. The application is dovecot-2.0, so I need to perf
record it and all it's children (imap, pop3, auth, etc).

Is this done by default?

--
Ralf Hildebrandt
GeschÃftsbereich IT | Abteilung Netzwerk
Charità - UniversitÃtsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
ralf.hildebrandt@xxxxxxxxxx | http://www.charite.de

--
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/