All of lore.kernel.org
 help / color / mirror / Atom feed
* (no subject)
@ 2013-12-15  7:58 Adel Amani
  2013-12-15 13:05 ` fatal error: xen/domctl.h: No such file or directory Adel Amani
  0 siblings, 1 reply; 7+ messages in thread
From: Adel Amani @ 2013-12-15  7:58 UTC (permalink / raw)
  To: Xen, Dario Faggioli


[-- Attachment #1.1: Type: text/plain, Size: 284 bytes --]

 Hello
I attach tow pic of code and error.
I try to dirty_count in function of csched_credit.c calculate... :-( But I confront to error.
now can you help me?
Thanks.

Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: A.Amani@eng.ui.ac.ir

[-- Attachment #1.2: Type: text/html, Size: 2122 bytes --]

[-- Attachment #2: pic1.png --]
[-- Type: image/png, Size: 104979 bytes --]

[-- Attachment #3: pic2.JPG --]
[-- Type: image/jpeg, Size: 11865 bytes --]

[-- Attachment #4: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* fatal error: xen/domctl.h: No such file or directory
  2013-12-15  7:58 (no subject) Adel Amani
@ 2013-12-15 13:05 ` Adel Amani
  2013-12-16 10:17   ` Dario Faggioli
  0 siblings, 1 reply; 7+ messages in thread
From: Adel Amani @ 2013-12-15 13:05 UTC (permalink / raw)
  To: Dario Faggioli, Xen


[-- Attachment #1.1: Type: text/plain, Size: 331 bytes --]

 Hello
I attach tow pic of code and error.
I try to dirty_count in function of csched_credit.c calculate... I add header "#include <public/domctl.h>" :-( But I confront to error.
now can you help me?
Thanks.
 
Adel Amani

M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: A.Amani@eng.ui.ac.ir

[-- Attachment #1.2: Type: text/html, Size: 3509 bytes --]

[-- Attachment #2: pic1.png --]
[-- Type: image/png, Size: 104979 bytes --]

[-- Attachment #3: pic2.JPG --]
[-- Type: image/jpeg, Size: 11865 bytes --]

[-- Attachment #4: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fatal error: xen/domctl.h: No such file or directory
  2013-12-15 13:05 ` fatal error: xen/domctl.h: No such file or directory Adel Amani
@ 2013-12-16 10:17   ` Dario Faggioli
  0 siblings, 0 replies; 7+ messages in thread
From: Dario Faggioli @ 2013-12-16 10:17 UTC (permalink / raw)
  To: Adel Amani; +Cc: Xen


[-- Attachment #1.1: Type: text/plain, Size: 1281 bytes --]

On dom, 2013-12-15 at 05:05 -0800, Adel Amani wrote:
>  Hello
> I attach tow pic of code and error.
>
Pics? Oh, no, please, don't do that! :-( Just cut and paste the text
_in_the_body_ of the e-mail for both (or, again, for code, if possible,
provide a patch). Screenshots are non a valid debugging aid (not in
these circumstances at lease), and waste a lot of bandwidth, effort from
list servers, and space on all the list subscribers inboxes!

So, please, really, never do that again unless a picture is the only way
you have to show an error message (typical, kernel/Xen crashed, and yet,
you may want to try a serial console first!).

> I try to dirty_count in function of csched_credit.c calculate... I add
> header "#include <public/domctl.h>" :-( But I confront to error.
> now can you help me?
> 
I'm sorry, but didn't we say not to go this way and include
public/domctl.h in sched_credit.c (which, of course, implies not using
stiff defined public/domctl.h in sched_credit.c) ?

Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fatal error: xen/domctl.h: No such file or directory
  2013-12-14 17:48         ` Adel Amani
@ 2013-12-14 18:03           ` Dario Faggioli
  0 siblings, 0 replies; 7+ messages in thread
From: Dario Faggioli @ 2013-12-14 18:03 UTC (permalink / raw)
  To: Adel Amani; +Cc: Xen


[-- Attachment #1.1: Type: text/plain, Size: 1037 bytes --]

On sab, 2013-12-14 at 09:48 -0800, Adel Amani wrote:
> Hello Mr Faggioli
> I use "d->arch.paging.log_dirty.dirty_count" or "xc_shadow_op_stats_t
> stats;" in function of code  csched_credit.c, trying to give
> dirty_count every round. 
>
You use one _or_ the other? What does that mean? Actually, can you show
us the code (better if in the form of a patch)? It's really hard to
figure out what's going on basing only on the information above...

> But I cant compile this code and error in domctl.h
>  "unknown type name 'uint16_t' "
>  or error
>  "expected specifier-qualifier-list before 'uint64_t' " !!!
> 
Mmm... Likewise, show us the complete error message, by cutting and
pasting a bit more of the terminal output when compiling.

Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fatal error: xen/domctl.h: No such file or directory
       [not found]       ` <1386695819.26721.YahooMailNeo@web160203.mail.bf1.yahoo.com>
@ 2013-12-14 17:48         ` Adel Amani
  2013-12-14 18:03           ` Dario Faggioli
  0 siblings, 1 reply; 7+ messages in thread
From: Adel Amani @ 2013-12-14 17:48 UTC (permalink / raw)
  To: Dario Faggioli, Xen


[-- Attachment #1.1: Type: text/plain, Size: 492 bytes --]

Hello Mr Faggioli
I use "d->arch.paging.log_dirty.dirty_count" or "xc_shadow_op_stats_t stats;" in function of code  csched_credit.c, trying to give dirty_count every round. But I cant compile this code and error in domctl.h
 "unknown type name 'uint16_t' "
 or error
 "expected specifier-qualifier-list before 'uint64_t' " !!!

I don't know really problem where?! :-|
 
Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: A.Amani@eng.ui.ac.ir

[-- Attachment #1.2: Type: text/html, Size: 2402 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fatal error: xen/domctl.h: No such file or directory
  2013-12-05  9:19 Adel Amani
@ 2013-12-05  9:32 ` Dario Faggioli
       [not found]   ` <1386320361.63501.YahooMailNeo@web160203.mail.bf1.yahoo.com>
  0 siblings, 1 reply; 7+ messages in thread
From: Dario Faggioli @ 2013-12-05  9:32 UTC (permalink / raw)
  To: Adel Amani; +Cc: George Dunlap, Matthew Daley, Ian Campbell, Xen


[-- Attachment #1.1: Type: text/plain, Size: 1834 bytes --]

On gio, 2013-12-05 at 01:19 -0800, Adel Amani wrote:
> Hello
> 
Hi,

> I trying for usage object "stats.dirty_count" in file "sched_credit.c"
> but despite I added library "domctl.h" still have error
> "sched_credit.c:11:24: fatal error: xen/domctl.h: No such file or
> directory"
> 
So, can you explain what it is that you are trying to achieve here? It's
going to be a lot easier to help if we know what we're talking about.

(And if you perhaps have already said this and rely on us remembering
without giving even some small context, please, don't do that either.
Developers are renowned for their terrible attention span and
memory! :-P)

> can someone help me?
> 
Even without context, I don't think that including domctl.h in
sched_credit.c, and then trying to use xen_domctl_shadow_op_stats there
makes much sense.

You're better off looking at d->arch.paging.log_dirty.dirty_count.

grep (or cscope) could probably have been of help.

$ grep dirty_count xen/* -R
xen/arch/x86/asm-offsets.s:	.string	"dirty_count"
xen/arch/x86/mm/paging.c:        d->arch.paging.log_dirty.dirty_count++;
xen/arch/x86/mm/paging.c:                 d->arch.paging.log_dirty.dirty_count);
xen/arch/x86/mm/paging.c:    sc->stats.dirty_count = d->arch.paging.log_dirty.dirty_count;
xen/arch/x86/mm/paging.c:        d->arch.paging.log_dirty.dirty_count = 0;
xen/include/asm-x86/domain.h:    unsigned int   dirty_count;
xen/include/public/domctl.h:    uint32_t dirty_count;
xen/include/asm/domain.h:    unsigned int   dirty_count;

Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* fatal error: xen/domctl.h: No such file or directory
@ 2013-12-05  9:19 Adel Amani
  2013-12-05  9:32 ` Dario Faggioli
  0 siblings, 1 reply; 7+ messages in thread
From: Adel Amani @ 2013-12-05  9:19 UTC (permalink / raw)
  To: George Dunlap, Matthew Daley, Dario Faggioli, Ian Campbell, Xen


[-- Attachment #1.1: Type: text/plain, Size: 354 bytes --]

Hello

I trying for usage object "stats.dirty_count" in file "sched_credit.c" but despite I added library "domctl.h" still have error "sched_credit.c:11:24: fatal error: xen/domctl.h: No such file or directory"

can someone help me?

 
Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: A.Amani@eng.ui.ac.ir

[-- Attachment #1.2: Type: text/html, Size: 1247 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-12-16 10:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-15  7:58 (no subject) Adel Amani
2013-12-15 13:05 ` fatal error: xen/domctl.h: No such file or directory Adel Amani
2013-12-16 10:17   ` Dario Faggioli
  -- strict thread matches above, loose matches on Subject: below --
2013-12-05  9:19 Adel Amani
2013-12-05  9:32 ` Dario Faggioli
     [not found]   ` <1386320361.63501.YahooMailNeo@web160203.mail.bf1.yahoo.com>
     [not found]     ` <1386323704.5338.576.camel@Solace>
     [not found]       ` <1386695819.26721.YahooMailNeo@web160203.mail.bf1.yahoo.com>
2013-12-14 17:48         ` Adel Amani
2013-12-14 18:03           ` Dario Faggioli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.