[Adding back in xen-devel to the cc' list]

On Thu, Jan 6, 2022 at 1:41 PM amir masoud noohi <highlim...@gmail.com>
wrote:

> yes exactly, I want to see the changes of a credit for each vCPU
>

(FYI we respond in-line on the Xen mailing lists rather than top posting.)

Your best bet is to look into xentrace & xenalyze, and the trace or TRACE
calls found in xen.git/xen/common/sched/credit[2].c.  It looks like you can
get the info you want for credit2, but not for credit1 unless you add some
trace points in.

You can find a video introduction to Xen tracing here:
https://vimeo.com/33655967

It's a bit old but that system hasn't changed much.

 -George


>
> On Thu, Jan 6, 2022 at 2:32 PM George Dunlap <dunl...@umich.edu> wrote:
>
>>
>>
>> On Wed, Jan 5, 2022 at 2:45 PM amir masoud noohi <highlim...@gmail.com>
>> wrote:
>>
>>> Hi Everyone,
>>>
>>> Today I'm looking for capturing vCPU credit for both credit1 and
>>> credit2.
>>> How can I do that?
>>>
>>
>> Can you explain what you mean by "capture vCPU credit"?  Do you mean you
>> want to log or sample changes to it?
>>
>>  -George
>>
>
>
> --
> *Regards*
> *Noohi*
> *noohi.org <https://noohi.org>*
>

Reply via email to