# Re: \[PATCH bpf-next v2\] samples/bpf: Add program for CPU state statistics

- From: Leo Yan \<hidden\>
- Date: 2018-02-27 02:17:00 
- List: netdev
- Page: https://ratatoskr.run/netdev/2018/02/5215656
- Thread: https://ratatoskr.run/netdev/2018/02/5214808/t.md

```text
On Mon, Feb 26, 2018 at 11:26:52AM +0100, Daniel Borkmann wrote:
> On 02/26/2018 02:19 AM, Leo Yan wrote:

[...]

> > CPU states statistics:
> > state(ms)  cstate-0    cstate-1    cstate-2    pstate-0    pstate-1    pstate-2    pstate-3    pstate-4
> > CPU-0      767         6111        111863      561         31          756         853         190
> > CPU-1      241         10606       107956      484         125         646         990         85
> > CPU-2      413         19721       98735       636         84          696         757         89
> > CPU-3      84          11711       79989       17516       909         4811        5773        341
> > CPU-4      152         19610       98229       444         53          649         708         1283
> > CPU-5      185         8781        108697      666         91          671         677         1365
> > CPU-6      157         21964       95825       581         67          566         684         1284
> > CPU-7      125         15238       102704      398         20          665         786         1197
> > 
> > Cc: Daniel Lezcano <redacted>
> > Cc: Vincent Guittot <vincent.guittot@linaro.org>
> > Signed-off-by: Leo Yan <redacted>
> 
> Applied to bpf-next, thanks Leo!

Thanks for help, Daniel.
```
