logformat.pl(1)

NAME
logformat.pl - Display LKST trace data

SYNOPSYS
logformat.pl [ -c cpu_id ] [ -e event_name ... ] [ -h ] [ -n entry_num ] [ -r ] filename

DESCRIPTION
logformat.pl is a Perl Script that displays LKST trace data. Argument filename must be specified the file name of binary trace data, which is created by using lkstbuf command. (See lkstbuf)

OPTION

-c cpu_id
    Specify the cpu number.

-e event_name ...
    Specify event filter. Enumerate the names of events which you want to trace. ( Event name list is displayed by option -h. ) Each event is separated by comma. example(1) Display only "system_call_entry" and "system_call_exit". -e system_call_entry,system_call_exit If you don't want to trace some events, specify "!" followed by the names of the events, like "!system_call_entry". You can specify "all" to specify all events. example(2) Display all events except for "system_call_entry" and "system_call_exit". -e all,!system_call_entry,!system_call_exit NOTE: Enumerated event name is evaluated from the left to the right. If both display and non-display are specified for the same event, the specification of the right side is given to priority. -e all,!spin_lock => display all events except spin_lock
    -e !spin_lock,all => display all events
    -e !spin_lock,spin_lock => the same as "-e spin_lock"
    -e spin_lock,!spin_lock => the same as "-e !spin_lock"

-h  Display command help. ( Also event name list is displayed. )

-n entry_num
    Specify the number of output entry.

-r  Reverse the order of output record.
    (default : time descending sort)