Skip to content

Commit 594e6fe

Browse files
committed
fix(sysdig): use correct format with -pc
Signed-off-by: Roberto Scolaro <[email protected]>
1 parent d27520c commit 594e6fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

userspace/sysdig/sysdig.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,6 +1335,7 @@ sysdig_init_res sysdig_init(int argc, char **argv)
13351335
else if(std::string(optarg) == "c" || std::string(optarg) == "container")
13361336
{
13371337
output_format = "*%evt.num %evt.outputtime %evt.cpu %container.name (%container.id) %proc.name (%thread.tid:%thread.vtid) %evt.dir %evt.type %evt.info";
1338+
output_format_plugin = "*%evt.num %evt.outputtime %evt.cpu %container.name (%container.id) %proc.name (%thread.tid:%thread.vtid) %evt.dir %evt.type %evt.info";
13381339
}
13391340
else if(std::string(optarg) == "k" || std::string(optarg) == "kubernetes")
13401341
{

0 commit comments

Comments
 (0)