Commit bb4a83ce authored by Brendan Gregg's avatar Brendan Gregg

remove unnecessary newlines in -l

parent 6f3e1c4c
...@@ -89,11 +89,9 @@ void list_probes(const std::string &search) ...@@ -89,11 +89,9 @@ void list_probes(const std::string &search)
list_probes_from_list(SW_PROBE_LIST, "software", search); list_probes_from_list(SW_PROBE_LIST, "software", search);
// hardware // hardware
std::cout << std::endl;
list_probes_from_list(HW_PROBE_LIST, "hardware", search); list_probes_from_list(HW_PROBE_LIST, "hardware", search);
// tracepoints // tracepoints
std::cout << std::endl;
std::vector<std::string> cats = std::vector<std::string>(); std::vector<std::string> cats = std::vector<std::string>();
list_dir(tp_path, cats); list_dir(tp_path, cats);
for (i = 0; i < cats.size(); i++) for (i = 0; i < cats.size(); i++)
...@@ -119,7 +117,6 @@ void list_probes(const std::string &search) ...@@ -119,7 +117,6 @@ void list_probes(const std::string &search)
} }
// kprobes // kprobes
std::cout << std::endl;
std::ifstream file(kprobe_path); std::ifstream file(kprobe_path);
if (file.fail()) if (file.fail())
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment