List Info

Thread: Re: Scripting infrastructure in crash




Re: Scripting infrastructure in crash
country flaguser name
United States
2007-05-02 09:12:12
I'd would like very much to get the sial interpreter into the crash tool.
It's a matter of mating the apiops (defined in sial_api.h) to the gdb framework.
Things are a bit hectic right now but I should be able to look at in the next few weeks.
It's definitively something I'll look at in the short term.

Now, if anyone wants to start looking, please do.  keep me in the loop.

    Luc

----- Original Message ----
From: Dave Anderson <andersonredhat.com>
To: sachinpin.ibm.com; "Discussion list for crash utility usage, maintenance and development" <crash-utilityredhat.com>
Sent: Wednesday, May 2, 2007 9:44:20 AM
Subject: Re: [Crash-utility] Scripting infrastructure in crash

"Sachin P. Sant" wrote:

&gt; Dave, i came across one of the Crash TODO list items about having
>; a scripting infrastructure in crash.
>;
> I was trying to evaluate the Alicia utility [mentioned in todo list].
>; Here are some of my observations about Alicia.
&gt;
> 1] It is a wrapper on top of crash.
>; 2] One can write perl based scripts to extract infromation from dumps.
>; 3] It has a nice report generation functionality which presents
&gt; the data in text as well as html format.
&gt; 4] Provides functions which could be used to read data from crash
> dumps.
>; 5] It is easy to use and effective too.
>
> Attached here is a sample script which i tried using Alicia to
> display block and character devices. [ I know dev command already
&gt; does this stuff .. but for the sake of trying out the Alicia i chose
> to write such a script ].
>
&gt; Also encountered few problems while trying out Alicia.
&gt; 1] On PPC64 arch came across data type overflow problem while
> executing the attached script.
&gt; 2] On s390/s390x architecture class function provided by Alicia
>; seems broken.
&gt; 3] Alicia is a wrapper on top of crash.
>;
> Other dump solutions [ lkcd ] has sial scripting which is c like
> and very effective. Not sure how difficult it will be to implement
> something like sial in crash.
>;
> Do you have any plans of having scripting infrastructure in
> crash ? If yes your thoughts on Alicia / sial / < any other stuff >
>

I personally do not.

But, a few days ago, Luc Chouinard started looking into what it
would take to support sial scripting.

Dave


--
Crash-utility mailing list
Crash-utilityredhat.com
https://www.redhat.com/mailman/listinfo/crash-utility



Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.
Re: Scripting infrastructure in crash
country flaguser name
United States
2007-05-02 10:54:14
Hi Luc,

crash-utility-bouncesredhat.com wrote on 05/02/2007 04:12:12
PM:
> I'd would like very much to get the sial interpreter
into the crash tool.
> It's a matter of mating the apiops (defined in
sial_api.h) to the
> gdb framework.
> Things are a bit hectic right now but I should be able
to look at in
> the next few weeks.
> It's definitively something I'll look at in the short
term.

Great! I think having a C-like scripting language in a
dumpanalyis
tool for an operating system written in C is the best
option!

Our developers on Linux for s390 use sial in lcrash very
intensively! Would be really great to have sial also in
crash!

Michael

--
Crash-utility mailing list
Crash-utilityredhat.com
https://www.redhat.com/mailman/listinfo/crash-utility

Re: Scripting infrastructure in crash
country flaguser name
United States
2007-07-12 09:33:08
Hi Luc,

crash-utility-bouncesredhat.com wrote on 05/02/2007 04:12:12
PM:

> I'd would like very much to get the sial interpreter
into the crash tool.
> It's a matter of mating the apiops (defined in
sial_api.h) to the
> gdb framework.
> Things are a bit hectic right now but I should be able
to look at in
> the next few weeks.
> It's definitively something I'll look at in the short
term.

Did you make any progress regarding sial for crash?
Everytime,
when I try to convince our developers to use crash instead
of
lcrash, many of them refuse, since they can't run their
sial
scripts in crash.

Michael

--
Crash-utility mailing list
Crash-utilityredhat.com
https://www.redhat.com/mailman/listinfo/crash-utility

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )