public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Proposed additions to ausearch
Date: Mon, 06 May 2013 18:04:54 -0400	[thread overview]
Message-ID: <1935131.6hcp5vhKIU@x2> (raw)
In-Reply-To: <8827929.ESG5lHux5a@x2>

On Monday, May 06, 2013 09:53:40 AM Steve Grubb wrote:
> >         - a new option will print out more parser friendly output for
> >         interpreted mode
> 
> I am in the midst of coalescing the interpreters into one. I know this
> sounds  crazy, but ausearch and auparse both had independent copies of
> nearly the same material. The problem was they both keep data formatted
> completely different and that made combining them a challenge. I think
> auparse has a faster lookup algorithm but it allocates memory for the
> translation. So, I hope they cancel each other out.
> 
> My point in mentioning this is that I am probably in the middle of changing 
> code you hooked into. The work is checked in but still in progress. The
> first step was to create a common API for 3 functions used in translating
> fields. (This is checked in.) The next step is to link ausearch against
> auparse with the ausearch functions commented out. The final step is to
> remove all the unneeded code from ausearch. (I should be doing this today.)

All changes are checked into svn for this interpreter switch over. So far my 
testing shows that although ausearch malloc/frees about 6 times as much as it 
used to, the lookup algorithms in auparse are superior and we actually have 
about a 20% speed improvement in the outputting of interpreted results. 
Searching is not any faster. 

At this point, the code should be stable in this area if you want to retest 
and start sending patches.

Thanks,
-Steve

  reply	other threads:[~2013-05-06 22:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-20 12:22 Proposed additions to ausearch Burn Alting
2013-05-05  8:21 ` Burn Alting
2013-05-06 13:53   ` Steve Grubb
2013-05-06 22:04     ` Steve Grubb [this message]
2013-05-07  9:29       ` Burn Alting
2013-05-11  0:42         ` Burn Alting
2013-05-11 23:14           ` Burn Alting
2013-05-11 23:30             ` Burn Alting
2013-05-13 13:02               ` Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1935131.6hcp5vhKIU@x2 \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox