Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for parsing chromium_events #62

Merged
merged 3 commits into from
Aug 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cargo fix
jamesjwu committed Aug 6, 2024
commit 7b2c455f6161db113ecc41116c72c46635d88ac9
4 changes: 2 additions & 2 deletions src/parsers.rs
Original file line number Diff line number Diff line change
@@ -529,10 +529,10 @@ impl StructuredLogParser for DumpFileParser {
}
fn parse<'e>(
&self,
lineno: usize,
_lineno: usize,
metadata: Metadata<'e>,
_rank: Option<u32>,
compile_id: &Option<CompileId>,
_compile_id: &Option<CompileId>,
payload: &str,
) -> anyhow::Result<ParserResults> {
if let Metadata::DumpFile(metadata) = metadata {
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ use html_escape::encode_text;
use indexmap::IndexMap;
use regex::Regex;
use serde_json::Value;
use std::io::Empty;


use std::fmt::{self, Display, Write};
use std::path::PathBuf;