From 49b51e80700a7c02b1eb4f70be08ac12f3bacfa4 Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Wed, 23 Apr 2014 12:21:49 -0700 Subject: [PATCH] parser: include rules class entries when dumping profiles This patch adds the newer rules class entries (e.g. ptrace, signals) when dumping profiles (invoking the parser with the -dd argument). Signed-off-by: Steve Beattie Acked-by: John Johansen --- parser/profile.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/parser/profile.h b/parser/profile.h index 8d0a9fef2..e18569dc8 100644 --- a/parser/profile.h +++ b/parser/profile.h @@ -221,6 +221,10 @@ public: if (entries) debug_cod_entries(entries); + for (RuleList::iterator i = rule_ents.begin(); i != rule_ents.end(); i++) { + (*i)->dump(cout); + } + printf("\n"); hat_table.dump(); }