Alicia(Advanced LInux Crash-dump Interactive Analyzer) is a tool that provides the effective environment & interface to analyze Linux crash dump with the power of Perl. New command to edit a dump can be written in perl. Given your script, Got know-how.
Be the first to post a text review of Alicia. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Fixes: * No perl readline module(only Stub.pm), Alicia aborts. * Access to Alicia via non tty process, Alicia aborts. Features: * Easy to handle kernel structure by class command To walk through task_struct chain, use each method. use KernDep; class task_struct; sub tasks { my $tt = task_struct(get_addr(KernDep->new->init_task)); $tt->list('tasks'); $tt->each( sub { my $tt = shift; printf("%s\t%d\t%s\n", $tt->{addr}, $tt->pid, $tt->get('comm', 'char*') ); } ); } 1;
Fixes: * Fixed '?' command * Fixed bug in the case that 'class' command was called without args. Features: * Alicia::GDB::Macro was released. This feature makes it possible to use GDB macros in Alicia namespace during gdb mode. package MyMacro; use base qw(Alicia::GDB::Macro); sub new { shift->SUPER::new(filehandle=>\*DATA); } 1; __DATA__ define inittask set $init_t=&init_task set $task = (struct task_struct *)$init_t printf "pid: %d, comm: %s\n", $task.pid, $task.comm end alicia> load 'MyMacro.pm' alicia> print MyMacro->new->inittask pid: 0, comm: swapper * KStruct.pm was imported into Alicia::KStruct and Alicia::GDB::KStruct allows you to use KStruct feature in GDB mode. KStruct.pm was deleted so that "use KStrcut" has to be removed from your script.
Fixes: * Fixed to be able to load a ldas file in deeply directory. * Refactorised Alicia->new() function. Features: * Extracted KStruct feature. 'class' command wad added. alicia> class 'task_struct', qw{flags pid *parent} alicia> my $flags = task_struct(dde8853c)->flags alicia> my $p_pid = task_struct(dde8853c)->_p_parent->pid * 'helper' command to help for your new ldas was added. alicia> helper 'My::Command' alicia> !vi My/Command.pm # Add your feature alicia> reload 'My/Command.pm' # if you added alicia> command() * Getting a summary report from command line as './reportYMDHMS.html' using '-report' switch. $ alicia -report System.map vmlinux vmcore Misc: * The sample ldases were moved into ldas/sample directory. !!! Please remove your ldasDir (default: /usr/share/ldas) !!! !!! after backuped your ldases before install Alicia-1.1.3. !!!
Features: * Support Alicia APIs for GDB temporary. * Add new command: kstruct - Description: Express the structure of kernel excellently - Synopsys: alicia> $task = kstruct('task_struct', '0xc1234567') or alicia> $task = kstruct('task_struct') alicia> $task = kstruct->set('0xc1234567') * Expand help command so you can add the help of command you made. $cat YourPackage.pm package YourPackage; sub yourcommand { xxxxx } sub help_yourcommand { return "Usage: yourcommand [xxxx]" } 1; * support for x86_64 on "report" command temporary. * Add "reload" command to reload perl module(xxx.pm) or ldas (xxx.ldas) (This change alters the action of "load" command.) Interface changes: * "load" command does not reload the same file that was loaded once. * Removed the license indication from version message.
Update the Linux dump analysis scripts(LDAS) for kernel2.6
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: