| To: | pcp developers <pcp@xxxxxxxxxxx> |
|---|---|
| Subject: | pmRegisterDerived return values |
| From: | Marko Myllynen <myllynen@xxxxxxxxxx> |
| Date: | Mon, 18 Jan 2016 11:28:05 +0200 |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Organization: | Red Hat |
| Reply-to: | Marko Myllynen <myllynen@xxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
Hi, In https://bugzilla.redhat.com/show_bug.cgi?id=1286733 two Python PMAPI pmRegisterDerived related issues were reported and they were already fixed but I think we all kind of forgot the bigger picture. Consider this example (from the BZ): try: self.context.pmRegisterDerived("foo", "rat(disk.dev.read)") except: print self.context.pmDerivedErrStr() Here pmDerivedErrStr returns nothing. Is this expected or should pmDerivedErrStr be improved to return always something understandable in case of errors? Thanks, -- Marko Myllynen |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | pmrep: drop RHBZ#1286733 compat, Marko Myllynen |
|---|---|
| Next by Date: | Re: [pcp] pmRegisterDerived return values, Ken McDonell |
| Previous by Thread: | pmrep: drop RHBZ#1286733 compat, Marko Myllynen |
| Next by Thread: | Re: [pcp] pmRegisterDerived return values, Ken McDonell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |