can lm-profiler use kmsg instead of dmesg

Bug #574387 reported by Ritesh Raj Sarraf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Laptop Mode Tools
New
Wishlist
Ritesh Raj Sarraf

Bug Description

lm-profiler currently does this:

process_dmesg_diff(){
        LEFT="$WORKDIR/dmesg_prev"
        RIGHT="$WORKDIR/dmesg_next"
        dmesg > $RIGHT
^^^^^^^^^^^^^^^^^^^^^^
        if [ -s $LEFT ] && [ -s $RIGHT ]; then
                # The following command is long and complicated. It does
                # the following things, separately for READ and WRITE
                # accesses:
                # 1. Retrieve only new lines, using diff.
                # 2. Drop the first line -- it is probably a truncated
                # version of an earlier line.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.